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 duplicate 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)>
Returns 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§impl PartialOrd for TryFromRelativeSideError
impl PartialOrd for TryFromRelativeSideError
impl 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