#[repr(transparent)]pub struct SparseImageFormatProperties2Builder { /* private fields */ }
Expand description
A builder for a SparseImageFormatProperties2
.
Implementations§
source§impl SparseImageFormatProperties2Builder
impl SparseImageFormatProperties2Builder
pub fn properties( self, properties: impl Cast<Target = SparseImageFormatProperties> ) -> Self
pub fn build(self) -> SparseImageFormatProperties2
Trait Implementations§
source§impl Cast for SparseImageFormatProperties2Builder
impl Cast for SparseImageFormatProperties2Builder
§type Target = SparseImageFormatProperties2
type Target = SparseImageFormatProperties2
The other type this type can be used interchangeably with in FFI.
source§impl Clone for SparseImageFormatProperties2Builder
impl Clone for SparseImageFormatProperties2Builder
source§fn clone(&self) -> SparseImageFormatProperties2Builder
fn clone(&self) -> SparseImageFormatProperties2Builder
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 moresource§impl Default for SparseImageFormatProperties2Builder
impl Default for SparseImageFormatProperties2Builder
source§fn default() -> SparseImageFormatProperties2Builder
fn default() -> SparseImageFormatProperties2Builder
Returns the “default value” for a type. Read more
impl Copy for SparseImageFormatProperties2Builder
Auto Trait Implementations§
impl RefUnwindSafe for SparseImageFormatProperties2Builder
impl !Send for SparseImageFormatProperties2Builder
impl !Sync for SparseImageFormatProperties2Builder
impl Unpin for SparseImageFormatProperties2Builder
impl UnwindSafe for SparseImageFormatProperties2Builder
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