pub enum AssetLoadState {
Pending,
Ready,
Canceled,
Evicted,
}Expand description
Lifecycle state of an entry tracked inside AssetManager.
Variants§
Pending
Load request is in flight and cancelable before completion.
Ready
Asset payload is resident and ready for immediate lookup.
Canceled
Pending load request was canceled prior to completion.
Evicted
Resident asset was evicted to enforce RAM or VRAM budgets.
Trait Implementations§
Source§impl Clone for AssetLoadState
impl Clone for AssetLoadState
impl Copy for AssetLoadState
Source§impl Debug for AssetLoadState
impl Debug for AssetLoadState
Source§impl Default for AssetLoadState
impl Default for AssetLoadState
impl Eq for AssetLoadState
Source§impl Hash for AssetLoadState
impl Hash for AssetLoadState
Source§impl Ord for AssetLoadState
impl Ord for AssetLoadState
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 AssetLoadState
impl PartialEq for AssetLoadState
Source§impl PartialOrd for AssetLoadState
impl PartialOrd for AssetLoadState
impl StructuralPartialEq for AssetLoadState
Auto Trait Implementations§
impl Forget for AssetLoadState
impl Freeze for AssetLoadState
impl Move for AssetLoadState
impl RefUnwindSafe for AssetLoadState
impl Send for AssetLoadState
impl Sync for AssetLoadState
impl Unpin for AssetLoadState
impl UnsafeUnpin for AssetLoadState
impl UnwindSafe for AssetLoadState
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