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<RangeError> for RangeError
impl PartialEq<RangeError> 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<RangeError> for RangeError
impl PartialOrd<RangeError> 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 more