pub struct SparseImageFormatProperties2KhrBuilder<'b> { /* private fields */ }Expand description
A builder for VkSparseImageFormatProperties2KHR.
Implementations§
Source§impl<'b> SparseImageFormatProperties2KhrBuilder<'b>
impl<'b> SparseImageFormatProperties2KhrBuilder<'b>
pub fn new() -> SparseImageFormatProperties2KhrBuilder<'b>
pub unsafe fn next<'m>( self, next: *mut c_void, ) -> SparseImageFormatProperties2KhrBuilder<'b>
pub fn properties<'m>( self, properties: SparseImageFormatProperties, ) -> SparseImageFormatProperties2KhrBuilder<'b>
pub fn get_next<'a>(&'a self) -> *mut c_void
pub fn get_properties<'a>(&'a self) -> &'a SparseImageFormatProperties
pub fn get_properties_mut<'a>( &'a mut self, ) -> &'a mut SparseImageFormatProperties
pub fn build(self) -> SparseImageFormatProperties2Khr<'b>
Trait Implementations§
Source§impl<'b> Clone for SparseImageFormatProperties2KhrBuilder<'b>
impl<'b> Clone for SparseImageFormatProperties2KhrBuilder<'b>
Source§fn clone(&self) -> SparseImageFormatProperties2KhrBuilder<'b>
fn clone(&self) -> SparseImageFormatProperties2KhrBuilder<'b>
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<'b> Debug for SparseImageFormatProperties2KhrBuilder<'b>
impl<'b> Debug for SparseImageFormatProperties2KhrBuilder<'b>
Source§impl<'b> Default for SparseImageFormatProperties2KhrBuilder<'b>
impl<'b> Default for SparseImageFormatProperties2KhrBuilder<'b>
Source§fn default() -> SparseImageFormatProperties2KhrBuilder<'b>
fn default() -> SparseImageFormatProperties2KhrBuilder<'b>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'b> Freeze for SparseImageFormatProperties2KhrBuilder<'b>
impl<'b> RefUnwindSafe for SparseImageFormatProperties2KhrBuilder<'b>
impl<'b> !Send for SparseImageFormatProperties2KhrBuilder<'b>
impl<'b> !Sync for SparseImageFormatProperties2KhrBuilder<'b>
impl<'b> Unpin for SparseImageFormatProperties2KhrBuilder<'b>
impl<'b> UnwindSafe for SparseImageFormatProperties2KhrBuilder<'b>
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