ash::vk

Type Alias MemoryAllocateFlagsInfoKHR

Source
pub type MemoryAllocateFlagsInfoKHR<'a> = MemoryAllocateFlagsInfo<'a>;

Aliased Type§

struct MemoryAllocateFlagsInfoKHR<'a> {
    pub s_type: StructureType,
    pub p_next: *const c_void,
    pub flags: MemoryAllocateFlags,
    pub device_mask: u32,
    pub _marker: PhantomData<&'a ()>,
}

Fields§

§s_type: StructureType§p_next: *const c_void§flags: MemoryAllocateFlags§device_mask: u32§_marker: PhantomData<&'a ()>

Implementations

Source§

impl<'a> MemoryAllocateFlagsInfo<'a>

Source

pub fn flags(self, flags: MemoryAllocateFlags) -> Self

Source

pub fn device_mask(self, device_mask: u32) -> Self

Trait Implementations

Source§

impl<'a> Clone for MemoryAllocateFlagsInfo<'a>

Source§

fn clone(&self) -> MemoryAllocateFlagsInfo<'a>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for MemoryAllocateFlagsInfo<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MemoryAllocateFlagsInfo<'_>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'a> TaggedStructure for MemoryAllocateFlagsInfo<'a>

Source§

const STRUCTURE_TYPE: StructureType = StructureType::MEMORY_ALLOCATE_FLAGS_INFO

Source§

impl<'a> Copy for MemoryAllocateFlagsInfo<'a>

Source§

impl ExtendsMemoryAllocateInfo for MemoryAllocateFlagsInfo<'_>

Source§

impl Send for MemoryAllocateFlagsInfo<'_>

Source§

impl Sync for MemoryAllocateFlagsInfo<'_>