Struct ash::vk::definitions::MemoryAllocateFlagsInfo
source · #[repr(C)]pub struct MemoryAllocateFlagsInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: MemoryAllocateFlags,
pub device_mask: u32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: MemoryAllocateFlags
§device_mask: u32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> MemoryAllocateFlagsInfo<'a>
impl<'a> MemoryAllocateFlagsInfo<'a>
pub fn flags(self, flags: MemoryAllocateFlags) -> Self
pub fn device_mask(self, device_mask: u32) -> Self
Trait Implementations§
source§impl<'a> Clone for MemoryAllocateFlagsInfo<'a>
impl<'a> Clone for MemoryAllocateFlagsInfo<'a>
source§fn clone(&self) -> MemoryAllocateFlagsInfo<'a>
fn clone(&self) -> MemoryAllocateFlagsInfo<'a>
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<'a> Debug for MemoryAllocateFlagsInfo<'a>
impl<'a> Debug for MemoryAllocateFlagsInfo<'a>
source§impl Default for MemoryAllocateFlagsInfo<'_>
impl Default for MemoryAllocateFlagsInfo<'_>
source§impl<'a> TaggedStructure for MemoryAllocateFlagsInfo<'a>
impl<'a> TaggedStructure for MemoryAllocateFlagsInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::MEMORY_ALLOCATE_FLAGS_INFO
impl<'a> Copy for MemoryAllocateFlagsInfo<'a>
impl ExtendsMemoryAllocateInfo for MemoryAllocateFlagsInfo<'_>
impl Send for MemoryAllocateFlagsInfo<'_>
impl Sync for MemoryAllocateFlagsInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for MemoryAllocateFlagsInfo<'a>
impl<'a> RefUnwindSafe for MemoryAllocateFlagsInfo<'a>
impl<'a> Unpin for MemoryAllocateFlagsInfo<'a>
impl<'a> UnwindSafe for MemoryAllocateFlagsInfo<'a>
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