Struct amethyst_assets::AssetError
[−]
[src]
pub struct AssetError<A, F, S> { pub asset: AssetSpec, pub error: LoadError<A, F, S>, }
Error type returned when loading an asset.
Includes the AssetSpec
and the error (LoadError
).
Fields
asset: AssetSpec
The specifier of the asset which failed to load
error: LoadError<A, F, S>
The error that's been raised.
Trait Implementations
impl<A: Debug, F: Debug, S: Debug> Debug for AssetError<A, F, S>
[src]
impl<A, F, S> Display for AssetError<A, F, S> where
A: Display,
F: Display,
S: Display,
[src]
A: Display,
F: Display,
S: Display,
fn fmt(&self, f: &mut Formatter) -> FmtResult
Formats the value using the given formatter. Read more
impl<A, F, S> Error for AssetError<A, F, S> where
A: Error,
F: Error,
S: Error,
[src]
A: Error,
F: Error,
S: Error,