pub struct FastQuantity(/* private fields */);Implementations§
Source§impl FastQuantity
impl FastQuantity
Source§impl FastQuantity
impl FastQuantity
pub fn to_quantity(self, scale: u32) -> Quantity
Trait Implementations§
Source§impl Clone for FastQuantity
impl Clone for FastQuantity
Source§fn clone(&self) -> FastQuantity
fn clone(&self) -> FastQuantity
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 FastQuantity
impl Debug for FastQuantity
Source§impl<'de> Deserialize<'de> for FastQuantity
impl<'de> Deserialize<'de> for FastQuantity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for FastQuantity
impl Hash for FastQuantity
Source§impl Ord for FastQuantity
impl Ord for FastQuantity
Source§fn cmp(&self, other: &FastQuantity) -> Ordering
fn cmp(&self, other: &FastQuantity) -> 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 for FastQuantity
impl PartialEq for FastQuantity
Source§impl PartialOrd for FastQuantity
impl PartialOrd for FastQuantity
Source§impl Serialize for FastQuantity
impl Serialize for FastQuantity
impl Copy for FastQuantity
impl Eq for FastQuantity
impl StructuralPartialEq for FastQuantity
Auto Trait Implementations§
impl Freeze for FastQuantity
impl RefUnwindSafe for FastQuantity
impl Send for FastQuantity
impl Sync for FastQuantity
impl Unpin for FastQuantity
impl UnsafeUnpin for FastQuantity
impl UnwindSafe for FastQuantity
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