[][src]Struct ash::vk::ExtDisplayControlFn

pub struct ExtDisplayControlFn {
    pub display_power_control_ext: extern "system" fn(device: Device, display: DisplayKHR, p_display_power_info: *const DisplayPowerInfoEXT) -> Result,
    pub register_device_event_ext: extern "system" fn(device: Device, p_device_event_info: *const DeviceEventInfoEXT, p_allocator: *const AllocationCallbacks, p_fence: *mut Fence) -> Result,
    pub register_display_event_ext: extern "system" fn(device: Device, display: DisplayKHR, p_display_event_info: *const DisplayEventInfoEXT, p_allocator: *const AllocationCallbacks, p_fence: *mut Fence) -> Result,
    pub get_swapchain_counter_ext: extern "system" fn(device: Device, swapchain: SwapchainKHR, counter: SurfaceCounterFlagsEXT, p_counter_value: *mut u64) -> Result,
}

Fields

display_power_control_ext: extern "system" fn(device: Device, display: DisplayKHR, p_display_power_info: *const DisplayPowerInfoEXT) -> Resultregister_device_event_ext: extern "system" fn(device: Device, p_device_event_info: *const DeviceEventInfoEXT, p_allocator: *const AllocationCallbacks, p_fence: *mut Fence) -> Resultregister_display_event_ext: extern "system" fn(device: Device, display: DisplayKHR, p_display_event_info: *const DisplayEventInfoEXT, p_allocator: *const AllocationCallbacks, p_fence: *mut Fence) -> Resultget_swapchain_counter_ext: extern "system" fn(device: Device, swapchain: SwapchainKHR, counter: SurfaceCounterFlagsEXT, p_counter_value: *mut u64) -> Result

Methods

impl ExtDisplayControlFn[src]

pub fn name() -> &'static CStr[src]

impl ExtDisplayControlFn[src]

pub fn load<F>(_f: F) -> Self where
    F: FnMut(&CStr) -> *const c_void
[src]

pub unsafe fn display_power_control_ext(
    &self,
    device: Device,
    display: DisplayKHR,
    p_display_power_info: *const DisplayPowerInfoEXT
) -> Result
[src]

pub unsafe fn register_device_event_ext(
    &self,
    device: Device,
    p_device_event_info: *const DeviceEventInfoEXT,
    p_allocator: *const AllocationCallbacks,
    p_fence: *mut Fence
) -> Result
[src]

pub unsafe fn register_display_event_ext(
    &self,
    device: Device,
    display: DisplayKHR,
    p_display_event_info: *const DisplayEventInfoEXT,
    p_allocator: *const AllocationCallbacks,
    p_fence: *mut Fence
) -> Result
[src]

pub unsafe fn get_swapchain_counter_ext(
    &self,
    device: Device,
    swapchain: SwapchainKHR,
    counter: SurfaceCounterFlagsEXT,
    p_counter_value: *mut u64
) -> Result
[src]

Trait Implementations

impl Sync for ExtDisplayControlFn[src]

impl Clone for ExtDisplayControlFn[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Send for ExtDisplayControlFn[src]

Auto Trait Implementations

impl Unpin for ExtDisplayControlFn

impl UnwindSafe for ExtDisplayControlFn

impl RefUnwindSafe for ExtDisplayControlFn

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]