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