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