pub struct English;
Expand description
Default language for timeago
Trait Implementations§
source§impl Language for English
impl Language for English
source§fn clone_boxed(&self) -> BoxedLanguage
fn clone_boxed(&self) -> BoxedLanguage
Make a dynamic copy of this language
source§fn get_word(&self, tu: TimeUnit, x: u64) -> &'static str
fn get_word(&self, tu: TimeUnit, x: u64) -> &'static str
Get word representing the given time unit, for using with
x
numbersource§fn place_ago_before(&self) -> bool
fn place_ago_before(&self) -> bool
For German and such
Auto Trait Implementations§
impl RefUnwindSafe for English
impl Send for English
impl Sync for English
impl Unpin for English
impl UnwindSafe for English
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