Enum ecma402_traits::relativetime::options::Style
source · pub enum Style {
Long,
Short,
Narrow,
}
Expand description
The length of the internationalized message.
Variants§
Long
Default, e.g. “in 1 month”
Short
Short, e.g. “in 1 mo.”
Narrow
Short, e.g. “in 1 mo”. The narrow style could be identical to Style::Short in some locales.
Trait Implementations§
source§impl PartialEq for Style
impl PartialEq for Style
impl StructuralPartialEq for Style
Auto Trait Implementations§
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
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