pub struct MemoryAllocateInfoBuilder<'b> { /* private fields */ }Expand description
A builder for VkMemoryAllocateInfo.
Implementations§
Source§impl<'b> MemoryAllocateInfoBuilder<'b>
impl<'b> MemoryAllocateInfoBuilder<'b>
pub fn new() -> MemoryAllocateInfoBuilder<'b>
pub unsafe fn next<'m>( self, next: *const c_void, ) -> MemoryAllocateInfoBuilder<'b>
pub fn allocation_size<'m>( self, allocation_size: u64, ) -> MemoryAllocateInfoBuilder<'b>
pub fn memory_type_index<'m>( self, memory_type_index: u32, ) -> MemoryAllocateInfoBuilder<'b>
pub fn get_next<'a>(&'a self) -> *const c_void
pub fn get_allocation_size<'a>(&'a self) -> u64
pub fn get_memory_type_index<'a>(&'a self) -> u32
pub fn build(self) -> MemoryAllocateInfo<'b>
Trait Implementations§
Source§impl<'b> Clone for MemoryAllocateInfoBuilder<'b>
impl<'b> Clone for MemoryAllocateInfoBuilder<'b>
Source§fn clone(&self) -> MemoryAllocateInfoBuilder<'b>
fn clone(&self) -> MemoryAllocateInfoBuilder<'b>
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 moreSource§impl<'b> Debug for MemoryAllocateInfoBuilder<'b>
impl<'b> Debug for MemoryAllocateInfoBuilder<'b>
Source§impl<'b> Default for MemoryAllocateInfoBuilder<'b>
impl<'b> Default for MemoryAllocateInfoBuilder<'b>
Source§fn default() -> MemoryAllocateInfoBuilder<'b>
fn default() -> MemoryAllocateInfoBuilder<'b>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'b> Freeze for MemoryAllocateInfoBuilder<'b>
impl<'b> RefUnwindSafe for MemoryAllocateInfoBuilder<'b>
impl<'b> !Send for MemoryAllocateInfoBuilder<'b>
impl<'b> !Sync for MemoryAllocateInfoBuilder<'b>
impl<'b> Unpin for MemoryAllocateInfoBuilder<'b>
impl<'b> UnwindSafe for MemoryAllocateInfoBuilder<'b>
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