#[repr(C)]pub struct MemoryAllocateFlagsInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: MemoryAllocateFlags,
pub device_mask: u32,
}Expand description
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO.
p_next: *const c_voidOptional, may be null.
flags: MemoryAllocateFlags§device_mask: u32Implementations§
Source§impl MemoryAllocateFlagsInfo
impl MemoryAllocateFlagsInfo
Sourcepub fn builder<'a>() -> MemoryAllocateFlagsInfoBuilder<'a>
pub fn builder<'a>() -> MemoryAllocateFlagsInfoBuilder<'a>
Returns a builder for this struct with sType pre-filled.
Trait Implementations§
Source§impl Clone for MemoryAllocateFlagsInfo
impl Clone for MemoryAllocateFlagsInfo
Source§fn clone(&self) -> MemoryAllocateFlagsInfo
fn clone(&self) -> MemoryAllocateFlagsInfo
Returns a duplicate 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 MemoryAllocateFlagsInfo
impl Debug for MemoryAllocateFlagsInfo
Source§impl Default for MemoryAllocateFlagsInfo
impl Default for MemoryAllocateFlagsInfo
impl Copy for MemoryAllocateFlagsInfo
impl ExtendsMemoryAllocateInfo for MemoryAllocateFlagsInfo
Auto Trait Implementations§
impl Freeze for MemoryAllocateFlagsInfo
impl RefUnwindSafe for MemoryAllocateFlagsInfo
impl !Send for MemoryAllocateFlagsInfo
impl !Sync for MemoryAllocateFlagsInfo
impl Unpin for MemoryAllocateFlagsInfo
impl UnsafeUnpin for MemoryAllocateFlagsInfo
impl UnwindSafe for MemoryAllocateFlagsInfo
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