[−][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.2-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 Clone for ExtDisplayControlFn
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Send for ExtDisplayControlFn
[src]
impl Sync for ExtDisplayControlFn
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExtDisplayControlFn
impl Unpin for ExtDisplayControlFn
impl UnwindSafe for ExtDisplayControlFn
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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, 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>,