#[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: StructureType
§p_next: *const c_void
§flags: MemoryAllocateFlags
§device_mask: u32
Implementations§
Source§impl MemoryAllocateFlagsInfo
impl MemoryAllocateFlagsInfo
pub fn builder<'a>() -> MemoryAllocateFlagsInfoBuilder<'a>
Trait Implementations§
Source§impl Clone for MemoryAllocateFlagsInfo
impl Clone for MemoryAllocateFlagsInfo
Source§fn clone(&self) -> MemoryAllocateFlagsInfo
fn clone(&self) -> MemoryAllocateFlagsInfo
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 Debug for MemoryAllocateFlagsInfo
impl Debug for MemoryAllocateFlagsInfo
Source§impl Default for MemoryAllocateFlagsInfo
impl Default for MemoryAllocateFlagsInfo
Source§impl TaggedStructure for MemoryAllocateFlagsInfo
impl TaggedStructure for MemoryAllocateFlagsInfo
const STRUCTURE_TYPE: StructureType = StructureType::MEMORY_ALLOCATE_FLAGS_INFO
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)