[][src]Struct ash::vk::KhrSamplerYcbcrConversionFn

pub struct KhrSamplerYcbcrConversionFn {
    pub create_sampler_ycbcr_conversion_khr: extern "system" fn(device: Device, p_create_info: *const SamplerYcbcrConversionCreateInfo, p_allocator: *const AllocationCallbacks, p_ycbcr_conversion: *mut SamplerYcbcrConversion) -> Result,
    pub destroy_sampler_ycbcr_conversion_khr: extern "system" fn(device: Device, ycbcr_conversion: SamplerYcbcrConversion, p_allocator: *const AllocationCallbacks) -> c_void,
}

Fields

create_sampler_ycbcr_conversion_khr: extern "system" fn(device: Device, p_create_info: *const SamplerYcbcrConversionCreateInfo, p_allocator: *const AllocationCallbacks, p_ycbcr_conversion: *mut SamplerYcbcrConversion) -> Resultdestroy_sampler_ycbcr_conversion_khr: extern "system" fn(device: Device, ycbcr_conversion: SamplerYcbcrConversion, p_allocator: *const AllocationCallbacks) -> c_void

Methods

impl KhrSamplerYcbcrConversionFn[src]

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

impl KhrSamplerYcbcrConversionFn[src]

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

pub unsafe fn create_sampler_ycbcr_conversion_khr(
    &self,
    device: Device,
    p_create_info: *const SamplerYcbcrConversionCreateInfo,
    p_allocator: *const AllocationCallbacks,
    p_ycbcr_conversion: *mut SamplerYcbcrConversion
) -> Result
[src]

pub unsafe fn destroy_sampler_ycbcr_conversion_khr(
    &self,
    device: Device,
    ycbcr_conversion: SamplerYcbcrConversion,
    p_allocator: *const AllocationCallbacks
) -> c_void
[src]

Trait Implementations

impl Clone for KhrSamplerYcbcrConversionFn[src]

impl Send for KhrSamplerYcbcrConversionFn[src]

impl Sync for KhrSamplerYcbcrConversionFn[src]

Auto Trait Implementations

impl RefUnwindSafe for KhrSamplerYcbcrConversionFn

impl Unpin for KhrSamplerYcbcrConversionFn

impl UnwindSafe for KhrSamplerYcbcrConversionFn

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.