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