Enum ecma402_traits::datetimeformat::options::Style
source · pub enum Style {
Full,
Long,
Medium,
Short,
}
Expand description
The date and time formatting options.
Variants§
Full
Full length format style.
- Date: “Wednesday, December 19, 2012”
- Time: “7:00:00 PM Pacific Standard Time”
Long
Long length format style.
- Date: “December 19, 2012”
- Time: “7:00:00 PM PST”
Medium
Medium length format style.
- Date: “Dec 19, 2012”
- Time: “7:00:00 PM”
Short
Short length format style.
- Date: “12/29/12”
- “7:00 PM”
Trait Implementations§
source§impl PartialEq for Style
impl PartialEq for Style
impl Eq 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