pub struct English;
Expand description
Default language for timeago
Trait Implementations
sourceimpl Language for English
impl Language for English
sourcefn clone_boxed(&self) -> BoxedLanguage
fn clone_boxed(&self) -> BoxedLanguage
Make a dynamic copy of this language
sourcefn 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
number
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more