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