Struct ash::vk::KhrGetMemoryRequirements2Fn
source · [−]pub struct KhrGetMemoryRequirements2Fn {
pub get_image_memory_requirements2_khr: PFN_vkGetImageMemoryRequirements2,
pub get_buffer_memory_requirements2_khr: PFN_vkGetBufferMemoryRequirements2,
pub get_image_sparse_memory_requirements2_khr: PFN_vkGetImageSparseMemoryRequirements2,
}
Fields
get_image_memory_requirements2_khr: PFN_vkGetImageMemoryRequirements2
get_buffer_memory_requirements2_khr: PFN_vkGetBufferMemoryRequirements2
get_image_sparse_memory_requirements2_khr: PFN_vkGetImageSparseMemoryRequirements2
Implementations
sourceimpl KhrGetMemoryRequirements2Fn
impl KhrGetMemoryRequirements2Fn
pub fn load<F>(_f: F) -> Self where
F: FnMut(&CStr) -> *const c_void,
sourcepub unsafe fn get_image_memory_requirements2_khr(
&self,
device: Device,
p_info: *const ImageMemoryRequirementsInfo2,
p_memory_requirements: *mut MemoryRequirements2
)
pub unsafe fn get_image_memory_requirements2_khr(
&self,
device: Device,
p_info: *const ImageMemoryRequirementsInfo2,
p_memory_requirements: *mut MemoryRequirements2
)
sourcepub unsafe fn get_buffer_memory_requirements2_khr(
&self,
device: Device,
p_info: *const BufferMemoryRequirementsInfo2,
p_memory_requirements: *mut MemoryRequirements2
)
pub unsafe fn get_buffer_memory_requirements2_khr(
&self,
device: Device,
p_info: *const BufferMemoryRequirementsInfo2,
p_memory_requirements: *mut MemoryRequirements2
)
sourcepub 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
)
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
)
Trait Implementations
sourceimpl Clone for KhrGetMemoryRequirements2Fn
impl Clone for KhrGetMemoryRequirements2Fn
sourcefn clone(&self) -> KhrGetMemoryRequirements2Fn
fn clone(&self) -> KhrGetMemoryRequirements2Fn
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Send for KhrGetMemoryRequirements2Fn
impl Sync for KhrGetMemoryRequirements2Fn
Auto Trait Implementations
impl RefUnwindSafe for KhrGetMemoryRequirements2Fn
impl Unpin for KhrGetMemoryRequirements2Fn
impl UnwindSafe for KhrGetMemoryRequirements2Fn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more