Struct vulkanalia::vk::MemoryAllocateInfo
source · #[repr(C)]pub struct MemoryAllocateInfo {
pub s_type: StructureType,
pub next: *const c_void,
pub allocation_size: u64,
pub memory_type_index: u32,
}
Expand description
Fields§
§s_type: StructureType
§next: *const c_void
§allocation_size: u64
§memory_type_index: u32
Trait Implementations§
source§impl Cast for MemoryAllocateInfo
impl Cast for MemoryAllocateInfo
§type Target = MemoryAllocateInfo
type Target = MemoryAllocateInfo
The other type this type can be used interchangeably with in FFI.
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§fn default() -> MemoryAllocateInfo
fn default() -> MemoryAllocateInfo
Returns the “default value” for a type. Read more
source§impl<'b> HasBuilder<'b> for MemoryAllocateInfo
impl<'b> HasBuilder<'b> for MemoryAllocateInfo
source§impl Hash for MemoryAllocateInfo
impl Hash for MemoryAllocateInfo
source§impl PartialEq<MemoryAllocateInfo> for MemoryAllocateInfo
impl PartialEq<MemoryAllocateInfo> for MemoryAllocateInfo
source§fn eq(&self, other: &MemoryAllocateInfo) -> bool
fn eq(&self, other: &MemoryAllocateInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MemoryAllocateInfo
impl Eq for MemoryAllocateInfo
impl StructuralEq for MemoryAllocateInfo
impl StructuralPartialEq for MemoryAllocateInfo
Auto Trait Implementations§
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