pub struct ExtDisplayControlFn {
pub display_power_control_ext: unsafe extern "system" fn(Device, DisplayKHR, *const DisplayPowerInfoEXT) -> Result,
pub register_device_event_ext: unsafe extern "system" fn(Device, *const DeviceEventInfoEXT, *const AllocationCallbacks, *mut Fence) -> Result,
pub register_display_event_ext: unsafe extern "system" fn(Device, DisplayKHR, *const DisplayEventInfoEXT, *const AllocationCallbacks, *mut Fence) -> Result,
pub get_swapchain_counter_ext: unsafe extern "system" fn(Device, SwapchainKHR, SurfaceCounterFlagsEXT, *mut u64) -> Result,
}Fields
display_power_control_ext: unsafe extern "system" fn(Device, DisplayKHR, *const DisplayPowerInfoEXT) -> Resultregister_device_event_ext: unsafe extern "system" fn(Device, *const DeviceEventInfoEXT, *const AllocationCallbacks, *mut Fence) -> Resultregister_display_event_ext: unsafe extern "system" fn(Device, DisplayKHR, *const DisplayEventInfoEXT, *const AllocationCallbacks, *mut Fence) -> Resultget_swapchain_counter_ext: unsafe extern "system" fn(Device, SwapchainKHR, SurfaceCounterFlagsEXT, *mut u64) -> ResultImplementations
Trait Implementations
sourceimpl Clone for ExtDisplayControlFn
impl Clone for ExtDisplayControlFn
sourcefn clone(&self) -> ExtDisplayControlFn
fn clone(&self) -> ExtDisplayControlFn
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Send for ExtDisplayControlFn
impl Sync for ExtDisplayControlFn
Auto Trait Implementations
impl RefUnwindSafe for ExtDisplayControlFn
impl Unpin for ExtDisplayControlFn
impl UnwindSafe for ExtDisplayControlFn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more