pub struct English;Expand description
No translations: every string is its English fallback.
Trait Implementations§
Source§impl Strings for English
impl Strings for English
Source§fn get_args(&self, key: &str, args: &[(&str, Arg<'_>)]) -> Option<String>
fn get_args(&self, key: &str, args: &[(&str, Arg<'_>)]) -> Option<String>
The text for a key with its arguments placed;
None falls back
to English. By default Strings::get with its { $name }
placeholders filled; a provider formatting its own (plurals,
numbers) overrides it. Read moreimpl Copy for English
Auto Trait Implementations§
impl Freeze for English
impl RefUnwindSafe for English
impl Send for English
impl Sync for English
impl Unpin for English
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more