pub enum AssetStorageKind {
Ram,
Vram,
Hybrid,
}Expand description
Memory residency domain occupied by a managed runtime asset.
Variants§
Ram
Asset resides solely in CPU RAM cache.
Vram
Asset resides solely in GPU VRAM (texture/buffer).
Hybrid
Asset maintains both a CPU staging buffer and a GPU VRAM allocation.
Trait Implementations§
Source§impl Clone for AssetStorageKind
impl Clone for AssetStorageKind
impl Copy for AssetStorageKind
Source§impl Debug for AssetStorageKind
impl Debug for AssetStorageKind
Source§impl Default for AssetStorageKind
impl Default for AssetStorageKind
impl Eq for AssetStorageKind
Source§impl Hash for AssetStorageKind
impl Hash for AssetStorageKind
Source§impl Ord for AssetStorageKind
impl Ord for AssetStorageKind
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AssetStorageKind
impl PartialEq for AssetStorageKind
Source§impl PartialOrd for AssetStorageKind
impl PartialOrd for AssetStorageKind
impl StructuralPartialEq for AssetStorageKind
Auto Trait Implementations§
impl Forget for AssetStorageKind
impl Freeze for AssetStorageKind
impl Move for AssetStorageKind
impl RefUnwindSafe for AssetStorageKind
impl Send for AssetStorageKind
impl Sync for AssetStorageKind
impl Unpin for AssetStorageKind
impl UnsafeUnpin for AssetStorageKind
impl UnwindSafe for AssetStorageKind
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