pub struct CAD;Expand description
Canadian dollar
Trait Implementations§
Source§impl Currency for CAD
impl Currency for CAD
Source§const MINOR_UNIT: u16 = 2
const MINOR_UNIT: u16 = 2
Number of decimal places/minor units (e.g., USD -> cents -> minor unit = 2)
Source§const MINOR_UNIT_SYMBOL: &'static str = "¢"
const MINOR_UNIT_SYMBOL: &'static str = "¢"
Currency minor symbol (e.g., USD -> “¢”)
Source§const THOUSAND_SEPARATOR: &'static str = ","
const THOUSAND_SEPARATOR: &'static str = ","
thousand separator (e.g., USD -> “,”)
Source§const DECIMAL_SEPARATOR: &'static str = "."
const DECIMAL_SEPARATOR: &'static str = "."
decimal separator (e.g., USD -> “.”)
impl Copy for CAD
impl Eq for CAD
impl StructuralPartialEq for CAD
Auto Trait Implementations§
impl Freeze for CAD
impl RefUnwindSafe for CAD
impl Send for CAD
impl Sync for CAD
impl Unpin for CAD
impl UnsafeUnpin for CAD
impl UnwindSafe for CAD
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