pub enum LoadedAsset {
Image(LoadedImage),
Svg(LoadedSvg),
}Expand description
One successfully loaded asset, tagged by family.
This is what a loader returns and what the drain dispatches on.
Variants§
Implementations§
Auto Trait Implementations§
impl Freeze for LoadedAsset
impl !RefUnwindSafe for LoadedAsset
impl Send for LoadedAsset
impl Sync for LoadedAsset
impl Unpin for LoadedAsset
impl UnsafeUnpin for LoadedAsset
impl !UnwindSafe for LoadedAsset
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.