Struct pilka_incremental::ash::vk::ExtHdrMetadataFn[]

pub struct ExtHdrMetadataFn {
    pub set_hdr_metadata_ext: extern "system" fn(Device, u32, *const SwapchainKHR, *const HdrMetadataEXT) -> c_void,
}

Fields

set_hdr_metadata_ext: extern "system" fn(Device, u32, *const SwapchainKHR, *const HdrMetadataEXT) -> c_void

Implementations

impl ExtHdrMetadataFn

pub fn name() -> &'static CStr

impl ExtHdrMetadataFn

pub fn load<F>(_f: F) -> ExtHdrMetadataFn where
    F: FnMut(&CStr) -> *const c_void

pub unsafe fn set_hdr_metadata_ext(
    &self,
    device: Device,
    swapchain_count: u32,
    p_swapchains: *const SwapchainKHR,
    p_metadata: *const HdrMetadataEXT
) -> c_void

Trait Implementations

impl Clone for ExtHdrMetadataFn

impl Send for ExtHdrMetadataFn

impl Sync for ExtHdrMetadataFn

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.