#[repr(C)]pub struct BindSparseInfo<'s> { /* private fields */ }
Expand description
A VkBindSparseInfo
.
Implementations§
Source§impl<'s> BindSparseInfo<'s>
impl<'s> BindSparseInfo<'s>
pub fn builder<'b>() -> BindSparseInfoBuilder<'b>
pub unsafe fn from_raw(raw: VkBindSparseInfo) -> BindSparseInfo<'s>
pub fn next<'a>(&'a self) -> *const c_void
pub fn wait_semaphores<'a>(&'a self) -> &'a [VkSemaphore] ⓘ
pub fn buffer_binds<'a>(&'a self) -> &'a [SparseBufferMemoryBindInfo<'_>]
pub fn image_opaque_binds<'a>( &'a self, ) -> &'a [SparseImageOpaqueMemoryBindInfo<'_>]
pub fn image_binds<'a>(&'a self) -> &'a [SparseImageMemoryBindInfo<'_>]
pub fn signal_semaphores<'a>(&'a self) -> &'a [VkSemaphore] ⓘ
pub unsafe fn set_next<'m>(&mut self, next: *const c_void)
pub fn set_wait_semaphores<'m, 'a>(
&mut self,
wait_semaphores: &'a [SemaphoreHandle],
)where
'a: 's,
pub fn set_buffer_binds<'m, 'a>(
&mut self,
buffer_binds: &'a [SparseBufferMemoryBindInfo<'_>],
)where
'a: 's,
pub fn set_image_opaque_binds<'m, 'a>(
&mut self,
image_opaque_binds: &'a [SparseImageOpaqueMemoryBindInfo<'_>],
)where
'a: 's,
pub fn set_image_binds<'m, 'a>(
&mut self,
image_binds: &'a [SparseImageMemoryBindInfo<'_>],
)where
'a: 's,
pub fn set_signal_semaphores<'m, 'a>(
&mut self,
signal_semaphores: &'a [SemaphoreHandle],
)where
'a: 's,
pub fn as_raw(&self) -> &VkBindSparseInfo
Trait Implementations§
Source§impl<'s> Clone for BindSparseInfo<'s>
impl<'s> Clone for BindSparseInfo<'s>
Source§fn clone(&self) -> BindSparseInfo<'s>
fn clone(&self) -> BindSparseInfo<'s>
Returns a duplicate 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 moreSource§impl<'s> Debug for BindSparseInfo<'s>
impl<'s> Debug for BindSparseInfo<'s>
Source§impl<'s> Default for BindSparseInfo<'s>
impl<'s> Default for BindSparseInfo<'s>
Source§fn default() -> BindSparseInfo<'s>
fn default() -> BindSparseInfo<'s>
Returns the “default value” for a type. Read more
Source§impl<'s> From<BindSparseInfo<'s>> for VkBindSparseInfo
impl<'s> From<BindSparseInfo<'s>> for VkBindSparseInfo
Source§fn from(f: BindSparseInfo<'s>) -> VkBindSparseInfo
fn from(f: BindSparseInfo<'s>) -> VkBindSparseInfo
Converts to this type from the input type.
Auto Trait Implementations§
impl<'s> Freeze for BindSparseInfo<'s>
impl<'s> RefUnwindSafe for BindSparseInfo<'s>
impl<'s> !Send for BindSparseInfo<'s>
impl<'s> !Sync for BindSparseInfo<'s>
impl<'s> Unpin for BindSparseInfo<'s>
impl<'s> UnwindSafe for BindSparseInfo<'s>
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