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