pub enum ImageState {
Loading(Receiver<Result<Decoded, String>>),
Uploaded(Texture),
Ready(Texture),
Failed(String),
}Variants§
Loading(Receiver<Result<Decoded, String>>)
Uploaded(Texture)
Decoded and uploaded as RGBA8; waiting for the working-space pass.
Ready(Texture)
Failed(String)
Auto Trait Implementations§
impl !Sync for ImageState
impl Forget for ImageState
impl Freeze for ImageState
impl Move for ImageState
impl RefUnwindSafe for ImageState
impl Send for ImageState
impl Unpin for ImageState
impl UnsafeUnpin for ImageState
impl UnwindSafe for ImageState
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