pub struct Quantity(/* private fields */);
Implementations§
Trait Implementations§
Source§impl AddAssign for Quantity
impl AddAssign for Quantity
Source§fn add_assign(&mut self, other: Quantity)
fn add_assign(&mut self, other: Quantity)
Performs the
+=
operation. Read moreSource§impl MulAssign for Quantity
impl MulAssign for Quantity
Source§fn mul_assign(&mut self, rhs: Quantity)
fn mul_assign(&mut self, rhs: Quantity)
Performs the
*=
operation. Read moreSource§impl Ord for Quantity
impl Ord for Quantity
Source§impl PartialOrd for Quantity
impl PartialOrd for Quantity
Source§impl SubAssign for Quantity
impl SubAssign for Quantity
Source§fn sub_assign(&mut self, other: Quantity)
fn sub_assign(&mut self, other: Quantity)
Performs the
-=
operation. Read moreimpl Copy for Quantity
impl Eq for Quantity
impl StructuralPartialEq for Quantity
Auto Trait Implementations§
impl Freeze for Quantity
impl RefUnwindSafe for Quantity
impl Send for Quantity
impl Sync for Quantity
impl Unpin for Quantity
impl UnwindSafe for Quantity
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.