pub struct BaseAtomsPerBaseLot { /* private fields */ }
Implementations§
Source§impl BaseAtomsPerBaseLot
impl BaseAtomsPerBaseLot
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 BaseAtomsPerBaseLot
impl Add for BaseAtomsPerBaseLot
Source§impl AddAssign for BaseAtomsPerBaseLot
impl AddAssign for BaseAtomsPerBaseLot
Source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+=
operation. Read moreSource§impl Clone for BaseAtomsPerBaseLot
impl Clone for BaseAtomsPerBaseLot
Source§fn clone(&self) -> BaseAtomsPerBaseLot
fn clone(&self) -> BaseAtomsPerBaseLot
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 BaseAtomsPerBaseLot
impl Debug for BaseAtomsPerBaseLot
Source§impl Default for BaseAtomsPerBaseLot
impl Default for BaseAtomsPerBaseLot
Source§impl Display for BaseAtomsPerBaseLot
impl Display for BaseAtomsPerBaseLot
Source§impl Div<BaseAtomsPerBaseLot> for BaseAtoms
impl Div<BaseAtomsPerBaseLot> for BaseAtoms
Source§impl Div<BaseAtomsPerBaseLot> for BaseAtomsPerBaseUnit
impl Div<BaseAtomsPerBaseLot> for BaseAtomsPerBaseUnit
Source§type Output = BaseLotsPerBaseUnit
type Output = BaseLotsPerBaseUnit
The resulting type after applying the
/
operator.Source§fn div(self, other: BaseAtomsPerBaseLot) -> BaseLotsPerBaseUnit
fn div(self, other: BaseAtomsPerBaseLot) -> BaseLotsPerBaseUnit
Performs the
/
operation. Read moreSource§impl From<BaseAtomsPerBaseLot> for f64
impl From<BaseAtomsPerBaseLot> for f64
Source§fn from(x: BaseAtomsPerBaseLot) -> f64
fn from(x: BaseAtomsPerBaseLot) -> f64
Converts to this type from the input type.
Source§impl From<BaseAtomsPerBaseLot> for u64
impl From<BaseAtomsPerBaseLot> for u64
Source§fn from(x: BaseAtomsPerBaseLot) -> u64
fn from(x: BaseAtomsPerBaseLot) -> u64
Converts to this type from the input type.
Source§impl Mul<BaseAtomsPerBaseLot> for BaseLots
impl Mul<BaseAtomsPerBaseLot> for BaseLots
Source§impl Mul<BaseAtomsPerBaseLot> for BaseLotsPerBaseUnit
impl Mul<BaseAtomsPerBaseLot> for BaseLotsPerBaseUnit
Source§type Output = BaseAtomsPerBaseUnit
type Output = BaseAtomsPerBaseUnit
The resulting type after applying the
*
operator.Source§fn mul(self, other: BaseAtomsPerBaseLot) -> BaseAtomsPerBaseUnit
fn mul(self, other: BaseAtomsPerBaseLot) -> BaseAtomsPerBaseUnit
Performs the
*
operation. Read moreSource§impl Mul<BaseLots> for BaseAtomsPerBaseLot
impl Mul<BaseLots> for BaseAtomsPerBaseLot
Source§impl Mul<BaseLotsPerBaseUnit> for BaseAtomsPerBaseLot
impl Mul<BaseLotsPerBaseUnit> for BaseAtomsPerBaseLot
Source§type Output = BaseAtomsPerBaseUnit
type Output = BaseAtomsPerBaseUnit
The resulting type after applying the
*
operator.Source§fn mul(self, other: BaseLotsPerBaseUnit) -> BaseAtomsPerBaseUnit
fn mul(self, other: BaseLotsPerBaseUnit) -> BaseAtomsPerBaseUnit
Performs the
*
operation. Read moreSource§impl Mul for BaseAtomsPerBaseLot
impl Mul for BaseAtomsPerBaseLot
Source§impl Ord for BaseAtomsPerBaseLot
impl Ord for BaseAtomsPerBaseLot
Source§fn cmp(&self, other: &BaseAtomsPerBaseLot) -> Ordering
fn cmp(&self, other: &BaseAtomsPerBaseLot) -> 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<BaseAtomsPerBaseLot> for u64
impl PartialEq<BaseAtomsPerBaseLot> for u64
Source§impl PartialEq<u64> for BaseAtomsPerBaseLot
impl PartialEq<u64> for BaseAtomsPerBaseLot
Source§impl PartialEq for BaseAtomsPerBaseLot
impl PartialEq for BaseAtomsPerBaseLot
Source§impl PartialOrd for BaseAtomsPerBaseLot
impl PartialOrd for BaseAtomsPerBaseLot
Source§impl Sub for BaseAtomsPerBaseLot
impl Sub for BaseAtomsPerBaseLot
Source§impl SubAssign for BaseAtomsPerBaseLot
impl SubAssign for BaseAtomsPerBaseLot
Source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the
-=
operation. Read moreSource§impl Sum for BaseAtomsPerBaseLot
impl Sum for BaseAtomsPerBaseLot
Source§impl WrapperU64 for BaseAtomsPerBaseLot
impl WrapperU64 for BaseAtomsPerBaseLot
impl Copy for BaseAtomsPerBaseLot
impl Eq for BaseAtomsPerBaseLot
impl Pod for BaseAtomsPerBaseLot
Auto Trait Implementations§
impl Freeze for BaseAtomsPerBaseLot
impl RefUnwindSafe for BaseAtomsPerBaseLot
impl Send for BaseAtomsPerBaseLot
impl Sync for BaseAtomsPerBaseLot
impl Unpin for BaseAtomsPerBaseLot
impl UnwindSafe for BaseAtomsPerBaseLot
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