[][src]Struct ash::vk::KhrGetMemoryRequirements2Fn

pub struct KhrGetMemoryRequirements2Fn {
    pub get_image_memory_requirements2_khr: extern "system" fn(device: Device, p_info: *const ImageMemoryRequirementsInfo2, p_memory_requirements: *mut MemoryRequirements2) -> c_void,
    pub get_buffer_memory_requirements2_khr: extern "system" fn(device: Device, p_info: *const BufferMemoryRequirementsInfo2, p_memory_requirements: *mut MemoryRequirements2) -> c_void,
    pub get_image_sparse_memory_requirements2_khr: extern "system" fn(device: Device, p_info: *const ImageSparseMemoryRequirementsInfo2, p_sparse_memory_requirement_count: *mut u32, p_sparse_memory_requirements: *mut SparseImageMemoryRequirements2) -> c_void,
}

Fields

get_image_memory_requirements2_khr: extern "system" fn(device: Device, p_info: *const ImageMemoryRequirementsInfo2, p_memory_requirements: *mut MemoryRequirements2) -> c_voidget_buffer_memory_requirements2_khr: extern "system" fn(device: Device, p_info: *const BufferMemoryRequirementsInfo2, p_memory_requirements: *mut MemoryRequirements2) -> c_voidget_image_sparse_memory_requirements2_khr: extern "system" fn(device: Device, p_info: *const ImageSparseMemoryRequirementsInfo2, p_sparse_memory_requirement_count: *mut u32, p_sparse_memory_requirements: *mut SparseImageMemoryRequirements2) -> c_void

Methods

impl KhrGetMemoryRequirements2Fn[src]

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

impl KhrGetMemoryRequirements2Fn[src]

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

pub unsafe fn get_image_memory_requirements2_khr(
    &self,
    device: Device,
    p_info: *const ImageMemoryRequirementsInfo2,
    p_memory_requirements: *mut MemoryRequirements2
) -> c_void
[src]

pub unsafe fn get_buffer_memory_requirements2_khr(
    &self,
    device: Device,
    p_info: *const BufferMemoryRequirementsInfo2,
    p_memory_requirements: *mut MemoryRequirements2
) -> c_void
[src]

pub unsafe fn get_image_sparse_memory_requirements2_khr(
    &self,
    device: Device,
    p_info: *const ImageSparseMemoryRequirementsInfo2,
    p_sparse_memory_requirement_count: *mut u32,
    p_sparse_memory_requirements: *mut SparseImageMemoryRequirements2
) -> c_void
[src]

Trait Implementations

impl Clone for KhrGetMemoryRequirements2Fn[src]

impl Send for KhrGetMemoryRequirements2Fn[src]

impl Sync for KhrGetMemoryRequirements2Fn[src]

Auto Trait Implementations

impl RefUnwindSafe for KhrGetMemoryRequirements2Fn

impl Unpin for KhrGetMemoryRequirements2Fn

impl UnwindSafe for KhrGetMemoryRequirements2Fn

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.