pub enum ImageWrapperError {
GraphicsLibError(GraphicsError),
TileError(String, GraphicsError),
TilesetFileError(Error),
TilesetFormatError(String),
ImageFileError(ImageError),
}
Variants
GraphicsLibError(GraphicsError)
TileError(String, GraphicsError)
TilesetFileError(Error)
TilesetFormatError(String)
ImageFileError(ImageError)
Trait Implementations
sourceimpl Debug for ImageWrapperError
impl Debug for ImageWrapperError
sourceimpl Display for ImageWrapperError
impl Display for ImageWrapperError
sourceimpl Error for ImageWrapperError
impl Error for ImageWrapperError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Error> for ImageWrapperError
impl From<Error> for ImageWrapperError
sourceimpl From<GraphicsError> for ImageWrapperError
impl From<GraphicsError> for ImageWrapperError
sourcefn from(source: GraphicsError) -> Self
fn from(source: GraphicsError) -> Self
Converts to this type from the input type.
sourceimpl From<ImageError> for ImageWrapperError
impl From<ImageError> for ImageWrapperError
sourcefn from(source: ImageError) -> Self
fn from(source: ImageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for ImageWrapperError
impl Send for ImageWrapperError
impl Sync for ImageWrapperError
impl Unpin for ImageWrapperError
impl !UnwindSafe for ImageWrapperError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more