pub enum MemoryUsage {
Auto,
AutoPreferDevice,
AutoPreferHost,
GpuLazilyAllocated,
Unknown,
}Variants§
Trait Implementations§
Source§impl Clone for MemoryUsage
impl Clone for MemoryUsage
Source§fn clone(&self) -> MemoryUsage
fn clone(&self) -> MemoryUsage
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 MemoryUsage
impl Debug for MemoryUsage
Source§impl Default for MemoryUsage
impl Default for MemoryUsage
Source§fn default() -> MemoryUsage
fn default() -> MemoryUsage
Returns the “default value” for a type. Read more
Source§impl From<MemoryUsage> for VmaMemoryUsage
impl From<MemoryUsage> for VmaMemoryUsage
Source§fn from(value: MemoryUsage) -> Self
fn from(value: MemoryUsage) -> Self
Converts to this type from the input type.
Source§impl Hash for MemoryUsage
impl Hash for MemoryUsage
Source§impl Ord for MemoryUsage
impl Ord for MemoryUsage
Source§fn cmp(&self, other: &MemoryUsage) -> Ordering
fn cmp(&self, other: &MemoryUsage) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MemoryUsage
impl PartialEq for MemoryUsage
Source§impl PartialOrd for MemoryUsage
impl PartialOrd for MemoryUsage
impl Copy for MemoryUsage
impl Eq for MemoryUsage
impl StructuralPartialEq for MemoryUsage
Auto Trait Implementations§
impl Freeze for MemoryUsage
impl RefUnwindSafe for MemoryUsage
impl Send for MemoryUsage
impl Sync for MemoryUsage
impl Unpin for MemoryUsage
impl UnwindSafe for MemoryUsage
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