pub enum TextureLoadError {
FileNotFound(String),
WindowNotReady(),
}Variants§
Trait Implementations§
Source§impl Debug for TextureLoadError
impl Debug for TextureLoadError
Source§impl Display for TextureLoadError
impl Display for TextureLoadError
Source§impl Error for TextureLoadError
impl Error for TextureLoadError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for TextureLoadError
impl RefUnwindSafe for TextureLoadError
impl Send for TextureLoadError
impl Sync for TextureLoadError
impl Unpin for TextureLoadError
impl UnwindSafe for TextureLoadError
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