pub struct TryFromRelativeSideError(/* private fields */);Expand description
An error returned when converting a RelativeSide into an
ActionSide if the value does not map.
Trait Implementations§
source§impl Clone for TryFromRelativeSideError
impl Clone for TryFromRelativeSideError
source§fn clone(&self) -> TryFromRelativeSideError
fn clone(&self) -> TryFromRelativeSideError
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 TryFromRelativeSideError
impl Debug for TryFromRelativeSideError
source§impl Display for TryFromRelativeSideError
impl Display for TryFromRelativeSideError
source§impl Error for TryFromRelativeSideError
impl Error for TryFromRelativeSideError
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 Hash for TryFromRelativeSideError
impl Hash for TryFromRelativeSideError
source§impl Ord for TryFromRelativeSideError
impl Ord for TryFromRelativeSideError
source§fn cmp(&self, other: &TryFromRelativeSideError) -> Ordering
fn cmp(&self, other: &TryFromRelativeSideError) -> 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 TryFromRelativeSideError
impl PartialEq for TryFromRelativeSideError
source§fn eq(&self, other: &TryFromRelativeSideError) -> bool
fn eq(&self, other: &TryFromRelativeSideError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for TryFromRelativeSideError
impl PartialOrd for TryFromRelativeSideError
source§fn partial_cmp(&self, other: &TryFromRelativeSideError) -> Option<Ordering>
fn partial_cmp(&self, other: &TryFromRelativeSideError) -> 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 TryFromRelativeSideError
impl Eq for TryFromRelativeSideError
impl StructuralPartialEq for TryFromRelativeSideError
Auto Trait Implementations§
impl Freeze for TryFromRelativeSideError
impl RefUnwindSafe for TryFromRelativeSideError
impl Send for TryFromRelativeSideError
impl Sync for TryFromRelativeSideError
impl Unpin for TryFromRelativeSideError
impl UnwindSafe for TryFromRelativeSideError
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