Trait monies::FormattableCurrency[][src]

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

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

Required methods

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

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

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

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

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

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

Loading content...

Implementors

Loading content...