Struct vulkanalia::vk::SparseImageMemoryBindBuilder
source · #[repr(transparent)]pub struct SparseImageMemoryBindBuilder { /* private fields */ }
Expand description
A builder for a SparseImageMemoryBind
.
Implementations§
source§impl SparseImageMemoryBindBuilder
impl SparseImageMemoryBindBuilder
pub fn subresource( self, subresource: impl Cast<Target = ImageSubresource> ) -> Self
pub fn offset(self, offset: impl Cast<Target = Offset3D>) -> Self
pub fn extent(self, extent: impl Cast<Target = Extent3D>) -> Self
pub fn memory(self, memory: DeviceMemory) -> Self
pub fn memory_offset(self, memory_offset: DeviceSize) -> Self
pub fn flags(self, flags: SparseMemoryBindFlags) -> Self
pub fn build(self) -> SparseImageMemoryBind
Trait Implementations§
source§impl Cast for SparseImageMemoryBindBuilder
impl Cast for SparseImageMemoryBindBuilder
§type Target = SparseImageMemoryBind
type Target = SparseImageMemoryBind
The other type this type can be used interchangeably with in FFI.
source§impl Clone for SparseImageMemoryBindBuilder
impl Clone for SparseImageMemoryBindBuilder
source§fn clone(&self) -> SparseImageMemoryBindBuilder
fn clone(&self) -> SparseImageMemoryBindBuilder
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 Debug for SparseImageMemoryBindBuilder
impl Debug for SparseImageMemoryBindBuilder
source§impl Default for SparseImageMemoryBindBuilder
impl Default for SparseImageMemoryBindBuilder
source§fn default() -> SparseImageMemoryBindBuilder
fn default() -> SparseImageMemoryBindBuilder
Returns the “default value” for a type. Read more
source§impl Deref for SparseImageMemoryBindBuilder
impl Deref for SparseImageMemoryBindBuilder
impl Copy for SparseImageMemoryBindBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SparseImageMemoryBindBuilder
impl Send for SparseImageMemoryBindBuilder
impl Sync for SparseImageMemoryBindBuilder
impl Unpin for SparseImageMemoryBindBuilder
impl UnwindSafe for SparseImageMemoryBindBuilder
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