[−][src]Struct ash::vk::ExtDisplayControlFn
Fields
display_power_control_ext: extern "system" fn(device: Device, display: DisplayKHR, p_display_power_info: *const DisplayPowerInfoEXT) -> Result
register_device_event_ext: extern "system" fn(device: Device, p_device_event_info: *const DeviceEventInfoEXT, p_allocator: *const AllocationCallbacks, p_fence: *mut Fence) -> Result
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
get_swapchain_counter_ext: extern "system" fn(device: Device, swapchain: SwapchainKHR, counter: SurfaceCounterFlagsEXT, p_counter_value: *mut u64) -> Result
Methods
impl ExtDisplayControlFn
[src]
impl ExtDisplayControlFn
[src]
pub fn load<F>(_f: F) -> Self where
F: FnMut(&CStr) -> *const c_void,
[src]
F: FnMut(&CStr) -> *const c_void,
pub unsafe fn display_power_control_ext(
&self,
device: Device,
display: DisplayKHR,
p_display_power_info: *const DisplayPowerInfoEXT
) -> Result
[src]
&self,
device: Device,
display: DisplayKHR,
p_display_power_info: *const DisplayPowerInfoEXT
) -> Result
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]
&self,
device: Device,
p_device_event_info: *const DeviceEventInfoEXT,
p_allocator: *const AllocationCallbacks,
p_fence: *mut Fence
) -> Result
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]
&self,
device: Device,
display: DisplayKHR,
p_display_event_info: *const DisplayEventInfoEXT,
p_allocator: *const AllocationCallbacks,
p_fence: *mut Fence
) -> Result
https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkRegisterDisplayEventEXT.html
pub unsafe fn get_swapchain_counter_ext(
&self,
device: Device,
swapchain: SwapchainKHR,
counter: SurfaceCounterFlagsEXT,
p_counter_value: *mut u64
) -> Result
[src]
&self,
device: Device,
swapchain: SwapchainKHR,
counter: SurfaceCounterFlagsEXT,
p_counter_value: *mut u64
) -> Result
Trait Implementations
impl Sync for ExtDisplayControlFn
[src]
impl Clone for ExtDisplayControlFn
[src]
fn clone(&self) -> Self
[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]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,