Trait null_kane::CurrencyLocale
source · 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.