pub struct Format {
pub language: Language,
}Expand description
Configuration struct to control formatting of the number names. Currently used only to specify the language.
Examples:
// default format
let fmt = number_names::Format::default();
// specify a language
let fmt = number_names::Format(number_names::languages::Language::EnUs);Fields§
§language: LanguageLanguage the number name should be formatted in
Implementations§
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
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