Struct voodoo::MemoryAllocateInfo
[−]
[src]
#[repr(C)]pub struct MemoryAllocateInfo<'s> { /* fields omitted */ }
A VkMemoryAllocateInfo
.
Methods
impl<'s> MemoryAllocateInfo<'s>
[src]
pub fn builder<'b>() -> MemoryAllocateInfoBuilder<'b>
[src]
pub unsafe fn from_raw(raw: VkMemoryAllocateInfo) -> MemoryAllocateInfo<'s>
[src]
pub fn next<'a>(&'a self) -> *const c_void
[src]
pub fn allocation_size<'a>(&'a self) -> u64
[src]
pub fn memory_type_index<'a>(&'a self) -> u32
[src]
pub unsafe fn set_next<'m>(&mut self, next: *const c_void)
[src]
pub fn set_allocation_size<'m>(&mut self, allocation_size: u64)
[src]
pub fn set_memory_type_index<'m>(&mut self, memory_type_index: u32)
[src]
pub fn as_raw(&self) -> &VkMemoryAllocateInfo
[src]
Trait Implementations
impl<'s> Debug for MemoryAllocateInfo<'s>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'s> Clone for MemoryAllocateInfo<'s>
[src]
fn clone(&self) -> MemoryAllocateInfo<'s>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'s> Default for MemoryAllocateInfo<'s>
[src]
fn default() -> MemoryAllocateInfo<'s>
[src]
Returns the "default value" for a type. Read more
impl<'s> From<MemoryAllocateInfo<'s>> for VkMemoryAllocateInfo
[src]
fn from(f: MemoryAllocateInfo<'s>) -> VkMemoryAllocateInfo
[src]
Performs the conversion.