pub struct AllocationOptions {
pub flags: AllocationCreateFlags,
pub usage: MemoryUsage,
pub required_flags: MemoryPropertyFlags,
pub preferred_flags: MemoryPropertyFlags,
pub memory_type_bits: u32,
pub priority: f32,
}Fields§
§flags: AllocationCreateFlags§usage: MemoryUsage§required_flags: MemoryPropertyFlags§preferred_flags: MemoryPropertyFlags§memory_type_bits: u32§priority: f32Trait Implementations§
Source§impl Clone for AllocationOptions
impl Clone for AllocationOptions
Source§fn clone(&self) -> AllocationOptions
fn clone(&self) -> AllocationOptions
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 Debug for AllocationOptions
impl Debug for AllocationOptions
Source§impl Default for AllocationOptions
impl Default for AllocationOptions
Source§fn default() -> AllocationOptions
fn default() -> AllocationOptions
Returns the “default value” for a type. Read more
Source§impl From<&AllocationOptions> for VmaAllocationCreateInfo
impl From<&AllocationOptions> for VmaAllocationCreateInfo
Source§fn from(value: &AllocationOptions) -> Self
fn from(value: &AllocationOptions) -> Self
Converts to this type from the input type.
impl Copy for AllocationOptions
Auto Trait Implementations§
impl Freeze for AllocationOptions
impl RefUnwindSafe for AllocationOptions
impl Send for AllocationOptions
impl Sync for AllocationOptions
impl Unpin for AllocationOptions
impl UnwindSafe for AllocationOptions
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