Struct oc_wasm_opencomputers::common::TryFromIntError
source · pub struct TryFromIntError;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 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 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§fn eq(&self, other: &TryFromInt) -> bool
fn eq(&self, other: &TryFromInt) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for TryFromInt
impl PartialOrd for TryFromInt
source§fn partial_cmp(&self, other: &TryFromInt) -> Option<Ordering>
fn partial_cmp(&self, other: &TryFromInt) -> 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 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