pub struct Maintenance4 { /* private fields */ }
Implementations§
Source§impl Maintenance4
impl Maintenance4
pub fn new(instance: &Instance, device: &Device) -> Self
Sourcepub unsafe fn get_device_buffer_memory_requirements(
&self,
memory_requirements: &DeviceBufferMemoryRequirementsKHR,
out: &mut MemoryRequirements2,
)
pub unsafe fn get_device_buffer_memory_requirements( &self, memory_requirements: &DeviceBufferMemoryRequirementsKHR, out: &mut MemoryRequirements2, )
Sourcepub unsafe fn get_device_image_memory_requirements(
&self,
memory_requirements: &DeviceImageMemoryRequirementsKHR,
out: &mut MemoryRequirements2,
)
pub unsafe fn get_device_image_memory_requirements( &self, memory_requirements: &DeviceImageMemoryRequirementsKHR, out: &mut MemoryRequirements2, )
Sourcepub unsafe fn get_device_image_sparse_memory_requirements_len(
&self,
memory_requirements: &DeviceImageMemoryRequirementsKHR,
) -> usize
pub unsafe fn get_device_image_sparse_memory_requirements_len( &self, memory_requirements: &DeviceImageMemoryRequirementsKHR, ) -> usize
Retrieve the number of elements to pass to get_device_image_sparse_memory_requirements()
Sourcepub unsafe fn get_device_image_sparse_memory_requirements(
&self,
memory_requirements: &DeviceImageMemoryRequirementsKHR,
out: &mut [SparseImageMemoryRequirements2],
)
pub unsafe fn get_device_image_sparse_memory_requirements( &self, memory_requirements: &DeviceImageMemoryRequirementsKHR, out: &mut [SparseImageMemoryRequirements2], )
Call get_device_image_sparse_memory_requirements_len()
to query the number of elements to pass to out
.
Be sure to Default::default()
-initialize these elements and optionally set their p_next
pointer.
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrMaintenance4Fn
pub fn device(&self) -> Device
Trait Implementations§
Source§impl Clone for Maintenance4
impl Clone for Maintenance4
Source§fn clone(&self) -> Maintenance4
fn clone(&self) -> Maintenance4
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for Maintenance4
impl RefUnwindSafe for Maintenance4
impl Send for Maintenance4
impl Sync for Maintenance4
impl Unpin for Maintenance4
impl UnwindSafe for Maintenance4
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)