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