#[repr(C)]pub struct MemoryAllocateInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub allocation_size: DeviceSize,
pub memory_type_index: u32,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§allocation_size: DeviceSize
§memory_type_index: u32
Implementations§
Source§impl MemoryAllocateInfo
impl MemoryAllocateInfo
pub fn builder<'a>() -> MemoryAllocateInfoBuilder<'a>
Trait Implementations§
Source§impl Clone for MemoryAllocateInfo
impl Clone for MemoryAllocateInfo
Source§fn clone(&self) -> MemoryAllocateInfo
fn clone(&self) -> MemoryAllocateInfo
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 MemoryAllocateInfo
impl Debug for MemoryAllocateInfo
Source§impl Default for MemoryAllocateInfo
impl Default for MemoryAllocateInfo
Source§impl TaggedStructure for MemoryAllocateInfo
impl TaggedStructure for MemoryAllocateInfo
const STRUCTURE_TYPE: StructureType = StructureType::MEMORY_ALLOCATE_INFO
impl Copy for MemoryAllocateInfo
Auto Trait Implementations§
impl Freeze for MemoryAllocateInfo
impl RefUnwindSafe for MemoryAllocateInfo
impl !Send for MemoryAllocateInfo
impl !Sync for MemoryAllocateInfo
impl Unpin for MemoryAllocateInfo
impl UnwindSafe for MemoryAllocateInfo
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
)