pub struct QuoteAtoms { /* private fields */ }Implementations§
Source§impl QuoteAtoms
impl QuoteAtoms
pub const ZERO: Self
pub const ONE: Self
pub const MAX: Self
pub const MIN: Self
pub fn as_u128(&self) -> u128
pub fn saturating_sub(self, other: Self) -> Self
pub fn unchecked_div<Divisor: WrapperU64, Quotient: WrapperU64>( self, other: Divisor, ) -> Quotient
Trait Implementations§
Source§impl Add for QuoteAtoms
impl Add for QuoteAtoms
Source§impl AddAssign for QuoteAtoms
impl AddAssign for QuoteAtoms
Source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+= operation. Read moreSource§impl Clone for QuoteAtoms
impl Clone for QuoteAtoms
Source§fn clone(&self) -> QuoteAtoms
fn clone(&self) -> QuoteAtoms
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 QuoteAtoms
impl Debug for QuoteAtoms
Source§impl Default for QuoteAtoms
impl Default for QuoteAtoms
Source§impl Display for QuoteAtoms
impl Display for QuoteAtoms
Source§impl Div<QuoteAtomsPerQuoteLot> for QuoteAtoms
impl Div<QuoteAtomsPerQuoteLot> for QuoteAtoms
Source§impl Div<QuoteLots> for QuoteAtoms
impl Div<QuoteLots> for QuoteAtoms
Source§type Output = QuoteAtomsPerQuoteLot
type Output = QuoteAtomsPerQuoteLot
The resulting type after applying the
/ operator.Source§impl From<QuoteAtoms> for f64
impl From<QuoteAtoms> for f64
Source§fn from(x: QuoteAtoms) -> f64
fn from(x: QuoteAtoms) -> f64
Converts to this type from the input type.
Source§impl From<QuoteAtoms> for u64
impl From<QuoteAtoms> for u64
Source§fn from(x: QuoteAtoms) -> u64
fn from(x: QuoteAtoms) -> u64
Converts to this type from the input type.
Source§impl Mul for QuoteAtoms
impl Mul for QuoteAtoms
Source§impl Ord for QuoteAtoms
impl Ord for QuoteAtoms
Source§fn cmp(&self, other: &QuoteAtoms) -> Ordering
fn cmp(&self, other: &QuoteAtoms) -> 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<QuoteAtoms> for u64
impl PartialEq<QuoteAtoms> for u64
Source§impl PartialEq<u64> for QuoteAtoms
impl PartialEq<u64> for QuoteAtoms
Source§impl PartialEq for QuoteAtoms
impl PartialEq for QuoteAtoms
Source§impl PartialOrd for QuoteAtoms
impl PartialOrd for QuoteAtoms
Source§impl Sub for QuoteAtoms
impl Sub for QuoteAtoms
Source§impl SubAssign for QuoteAtoms
impl SubAssign for QuoteAtoms
Source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the
-= operation. Read moreSource§impl Sum for QuoteAtoms
impl Sum for QuoteAtoms
Source§impl WrapperU64 for QuoteAtoms
impl WrapperU64 for QuoteAtoms
impl Copy for QuoteAtoms
impl Eq for QuoteAtoms
impl Pod for QuoteAtoms
Auto Trait Implementations§
impl Freeze for QuoteAtoms
impl RefUnwindSafe for QuoteAtoms
impl Send for QuoteAtoms
impl Sync for QuoteAtoms
impl Unpin for QuoteAtoms
impl UnwindSafe for QuoteAtoms
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more