[][src]Trait rusty_money::FormattableCurrency

pub trait FormattableCurrency: PartialEq + Eq + Copy {
    pub fn to_string(&self) -> String;
pub fn exponent(&self) -> u32;
pub fn code(&self) -> &'static str;
pub fn locale(&self) -> Locale;
pub fn symbol(&self) -> &'static str;
pub fn symbol_first(&self) -> bool; }

Pre-requisite for a Currency to be accepted by a Money.

Required methods

pub fn to_string(&self) -> String[src]

pub fn exponent(&self) -> u32[src]

pub fn code(&self) -> &'static str[src]

pub fn locale(&self) -> Locale[src]

pub fn symbol(&self) -> &'static str[src]

pub fn symbol_first(&self) -> bool[src]

Loading content...

Implementors

impl FormattableCurrency for Currency[src]

Loading content...