Enum ethers_core::utils::ParseUnits
source · Expand description
This enum holds the numeric types that a possible to be returned by parse_units
and
that are taken by format_units
.
Variants§
Trait Implementations§
source§impl Clone for ParseUnits
impl Clone for ParseUnits
source§fn clone(&self) -> ParseUnits
fn clone(&self) -> ParseUnits
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 ParseUnits
impl Debug for ParseUnits
source§impl Display for ParseUnits
impl Display for ParseUnits
source§impl From<I256> for ParseUnits
impl From<I256> for ParseUnits
source§impl From<ParseUnits> for I256
impl From<ParseUnits> for I256
source§fn from(n: ParseUnits) -> Self
fn from(n: ParseUnits) -> Self
Converts to this type from the input type.
source§impl From<ParseUnits> for U256
impl From<ParseUnits> for U256
source§fn from(n: ParseUnits) -> Self
fn from(n: ParseUnits) -> Self
Converts to this type from the input type.
source§impl From<U256> for ParseUnits
impl From<U256> for ParseUnits
source§impl From<i128> for ParseUnits
impl From<i128> for ParseUnits
source§impl From<i16> for ParseUnits
impl From<i16> for ParseUnits
source§impl From<i32> for ParseUnits
impl From<i32> for ParseUnits
source§impl From<i64> for ParseUnits
impl From<i64> for ParseUnits
source§impl From<i8> for ParseUnits
impl From<i8> for ParseUnits
source§impl From<isize> for ParseUnits
impl From<isize> for ParseUnits
source§impl From<u128> for ParseUnits
impl From<u128> for ParseUnits
source§impl From<u16> for ParseUnits
impl From<u16> for ParseUnits
source§impl From<u32> for ParseUnits
impl From<u32> for ParseUnits
source§impl From<u64> for ParseUnits
impl From<u64> for ParseUnits
source§impl From<u8> for ParseUnits
impl From<u8> for ParseUnits
source§impl From<usize> for ParseUnits
impl From<usize> for ParseUnits
source§impl Ord for ParseUnits
impl Ord for ParseUnits
source§fn cmp(&self, other: &ParseUnits) -> Ordering
fn cmp(&self, other: &ParseUnits) -> 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<ParseUnits> for ParseUnits
impl PartialEq<ParseUnits> for ParseUnits
source§fn eq(&self, other: &ParseUnits) -> bool
fn eq(&self, other: &ParseUnits) -> bool
source§impl PartialOrd<ParseUnits> for ParseUnits
impl PartialOrd<ParseUnits> for ParseUnits
source§fn partial_cmp(&self, other: &ParseUnits) -> Option<Ordering>
fn partial_cmp(&self, other: &ParseUnits) -> 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