Struct ash::vk::MemoryAllocateInfo
source · #[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