Enum bottomless_pit::texture::TextureError
source · pub enum TextureError {
IoError(Error),
ImageError(ImageError),
}Variants§
IoError(Error)
ImageError(ImageError)
Trait Implementations§
source§impl Debug for TextureError
impl Debug for TextureError
source§impl Display for TextureError
impl Display for TextureError
source§impl Error for TextureError
impl Error for TextureError
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for TextureError
impl From<Error> for TextureError
source§fn from(value: Error) -> TextureError
fn from(value: Error) -> TextureError
Converts to this type from the input type.
source§impl From<ImageError> for TextureError
impl From<ImageError> for TextureError
source§fn from(value: ImageError) -> Self
fn from(value: ImageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for TextureError
impl Send for TextureError
impl Sync for TextureError
impl Unpin for TextureError
impl !UnwindSafe for TextureError
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