pub struct SdlError(/* private fields */);
Expand description
Contains the description of an error returned by SDL
Trait Implementations§
source§impl Error for SdlError
impl Error for SdlError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Auto Trait Implementations§
impl Freeze for SdlError
impl RefUnwindSafe for SdlError
impl Send for SdlError
impl Sync for SdlError
impl Unpin for SdlError
impl UnwindSafe for SdlError
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