pub enum AssetState {
Loading,
Loaded,
Error,
}Expand description
Represents the loading state of an asset in the cache.
Variants§
Loading
The asset has been requested but is still loading.
Loaded
The asset has been successfully loaded and is ready for use.
Error
The asset failed to load.
Trait Implementations§
Source§impl Clone for AssetState
impl Clone for AssetState
impl Copy for AssetState
Source§impl Debug for AssetState
impl Debug for AssetState
Source§impl Default for AssetState
impl Default for AssetState
impl Eq for AssetState
Source§impl PartialEq for AssetState
impl PartialEq for AssetState
impl StructuralPartialEq for AssetState
Auto Trait Implementations§
impl Freeze for AssetState
impl RefUnwindSafe for AssetState
impl Send for AssetState
impl Sync for AssetState
impl Unpin for AssetState
impl UnsafeUnpin for AssetState
impl UnwindSafe for AssetState
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