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