pub enum IntegerOrSdlError {
IntegerOverflows(&'static str, u32),
SdlError(String),
}Expand description
A given integer was so big that its representation as a C integer would be negative.
Variants§
Trait Implementations§
Source§impl Debug for IntegerOrSdlError
impl Debug for IntegerOrSdlError
Source§impl Display for IntegerOrSdlError
impl Display for IntegerOrSdlError
Source§impl Error for IntegerOrSdlError
impl Error for IntegerOrSdlError
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 IntegerOrSdlError
impl RefUnwindSafe for IntegerOrSdlError
impl Send for IntegerOrSdlError
impl Sync for IntegerOrSdlError
impl Unpin for IntegerOrSdlError
impl UnwindSafe for IntegerOrSdlError
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