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>
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 more