[−][src]Struct cents::Cents
Methods
impl Cents
[src]
Trait Implementations
impl Add<Cents> for Cents
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
impl Add<u64> for Cents
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: u64) -> Self
[src]
impl AddAssign<Cents> for Cents
[src]
fn add_assign(&mut self, other: Self)
[src]
impl AddAssign<u64> for Cents
[src]
fn add_assign(&mut self, other: u64)
[src]
impl Clone for Cents
[src]
impl Copy for Cents
[src]
impl Debug for Cents
[src]
impl Eq for Cents
[src]
impl<'_> From<&'_ BigInt> for Cents
[src]
impl<'_> From<&'_ Cents> for BigInt
[src]
impl From<BigInt> for Cents
[src]
impl From<Cents> for u64
[src]
impl From<Cents> for BigInt
[src]
impl From<u64> for Cents
[src]
impl Mul<Cents> for Cents
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: Self) -> Self
[src]
impl Mul<u64> for Cents
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: u64) -> Self::Output
[src]
impl Ord for Cents
[src]
fn cmp(&self, other: &Cents) -> Ordering
[src]
#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Cents> for Cents
[src]
impl PartialOrd<Cents> for Cents
[src]
fn partial_cmp(&self, other: &Cents) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Sub<Cents> for Cents
[src]
Auto Trait Implementations
impl RefUnwindSafe for Cents
impl Send for Cents
impl Sync for Cents
impl Unpin for Cents
impl UnwindSafe for Cents
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,