Struct input_linux::RangeError
source · pub struct RangeError;Expand description
Indicates that a value or event type code was out of range.
Trait Implementations§
source§impl Clone for RangeError
impl Clone for RangeError
source§fn clone(&self) -> RangeError
fn clone(&self) -> RangeError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RangeError
impl Debug for RangeError
source§impl Default for RangeError
impl Default for RangeError
source§fn default() -> RangeError
fn default() -> RangeError
Returns the “default value” for a type. Read more
source§impl Display for RangeError
impl Display for RangeError
source§impl Error for RangeError
impl Error for RangeError
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<RangeError> for Error
impl From<RangeError> for Error
source§fn from(e: RangeError) -> Self
fn from(e: RangeError) -> Self
Converts to this type from the input type.
source§impl Hash for RangeError
impl Hash for RangeError
source§impl Ord for RangeError
impl Ord for RangeError
source§fn cmp(&self, other: &RangeError) -> Ordering
fn cmp(&self, other: &RangeError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RangeError
impl PartialEq for RangeError
source§fn eq(&self, other: &RangeError) -> bool
fn eq(&self, other: &RangeError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for RangeError
impl PartialOrd for RangeError
source§fn partial_cmp(&self, other: &RangeError) -> Option<Ordering>
fn partial_cmp(&self, other: &RangeError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for RangeError
impl Eq for RangeError
impl StructuralPartialEq for RangeError
Auto Trait Implementations§
impl Freeze for RangeError
impl RefUnwindSafe for RangeError
impl Send for RangeError
impl Sync for RangeError
impl Unpin for RangeError
impl UnwindSafe for RangeError
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)