Struct vulkanalia::vk::MemoryAllocateFlagsInfoBuilder
source · pub struct MemoryAllocateFlagsInfoBuilder { /* private fields */ }
Expand description
A builder for a MemoryAllocateFlagsInfo
.
Implementations§
source§impl MemoryAllocateFlagsInfoBuilder
impl MemoryAllocateFlagsInfoBuilder
pub fn flags(self, flags: MemoryAllocateFlags) -> Self
pub fn device_mask(self, device_mask: u32) -> Self
pub fn build(self) -> MemoryAllocateFlagsInfo
Trait Implementations§
source§impl Cast for MemoryAllocateFlagsInfoBuilder
impl Cast for MemoryAllocateFlagsInfoBuilder
§type Target = MemoryAllocateFlagsInfo
type Target = MemoryAllocateFlagsInfo
The other type this type can be used interchangeably with in FFI.
source§impl Clone for MemoryAllocateFlagsInfoBuilder
impl Clone for MemoryAllocateFlagsInfoBuilder
source§fn clone(&self) -> MemoryAllocateFlagsInfoBuilder
fn clone(&self) -> MemoryAllocateFlagsInfoBuilder
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 Default for MemoryAllocateFlagsInfoBuilder
impl Default for MemoryAllocateFlagsInfoBuilder
source§fn default() -> MemoryAllocateFlagsInfoBuilder
fn default() -> MemoryAllocateFlagsInfoBuilder
Returns the “default value” for a type. Read more
impl Copy for MemoryAllocateFlagsInfoBuilder
Auto Trait Implementations§
impl Freeze for MemoryAllocateFlagsInfoBuilder
impl RefUnwindSafe for MemoryAllocateFlagsInfoBuilder
impl !Send for MemoryAllocateFlagsInfoBuilder
impl !Sync for MemoryAllocateFlagsInfoBuilder
impl Unpin for MemoryAllocateFlagsInfoBuilder
impl UnwindSafe for MemoryAllocateFlagsInfoBuilder
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