pub trait CurrencyLocale {
// Required methods
fn separator(&self) -> char;
fn thousand_separator(&self) -> char;
fn currency_symbol(&self) -> &'static str;
}Expand description
A trait for defining currency localization methods.
Required Methods§
Sourcefn thousand_separator(&self) -> char
fn thousand_separator(&self) -> char
Retrieves the thousand separator used for the currency.
Sourcefn currency_symbol(&self) -> &'static str
fn currency_symbol(&self) -> &'static str
Retrieves the currency symbol.