pub struct MemoryAllocateInfo<'d>(/* private fields */);Expand description
Structure containing parameters of a memory allocation
Implementations§
Source§impl<'d> MemoryAllocateInfo<'d>
impl<'d> MemoryAllocateInfo<'d>
pub const fn new(size: VkDeviceSize, memory_type_index: u32) -> Self
pub const unsafe fn from_raw(raw: VkMemoryAllocateInfo) -> Self
pub const fn into_raw(self) -> VkMemoryAllocateInfo
pub const fn with_next(self, next: &'d (impl VulkanStructure + ?Sized)) -> Self
pub const unsafe fn next_sink<T: VulkanStructure>(&mut self) -> &mut *const T
Trait Implementations§
Source§impl<'d> Clone for MemoryAllocateInfo<'d>
impl<'d> Clone for MemoryAllocateInfo<'d>
Source§fn clone(&self) -> MemoryAllocateInfo<'d>
fn clone(&self) -> MemoryAllocateInfo<'d>
Returns a duplicate 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 moreAuto Trait Implementations§
impl<'d> Freeze for MemoryAllocateInfo<'d>
impl<'d> !RefUnwindSafe for MemoryAllocateInfo<'d>
impl<'d> !Send for MemoryAllocateInfo<'d>
impl<'d> !Sync for MemoryAllocateInfo<'d>
impl<'d> Unpin for MemoryAllocateInfo<'d>
impl<'d> !UnwindSafe for MemoryAllocateInfo<'d>
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