pub struct TryFromInt;
Expand description
An error returned when converting an invalid value to an enumeration.
Trait Implementations§
Source§impl Clone for TryFromInt
impl Clone for TryFromInt
Source§fn clone(&self) -> TryFromInt
fn clone(&self) -> TryFromInt
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 TryFromInt
impl Debug for TryFromInt
Source§impl Display for TryFromInt
impl Display for TryFromInt
Source§impl Hash for TryFromInt
impl Hash for TryFromInt
Source§impl Ord for TryFromInt
impl Ord for TryFromInt
Source§fn cmp(&self, other: &TryFromInt) -> Ordering
fn cmp(&self, other: &TryFromInt) -> 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 TryFromInt
impl PartialEq for TryFromInt
Source§impl PartialOrd for TryFromInt
impl PartialOrd for TryFromInt
impl Copy for TryFromInt
impl Eq for TryFromInt
impl StructuralPartialEq for TryFromInt
Auto Trait Implementations§
impl Freeze for TryFromInt
impl RefUnwindSafe for TryFromInt
impl Send for TryFromInt
impl Sync for TryFromInt
impl Unpin for TryFromInt
impl UnwindSafe for TryFromInt
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