pub enum HourFormat {
HH,
H,
h,
}Expand description
Describes how hours are formatted.
Variants§
HH
Zero-padded two-digit 24-hour format ranging from “00” to “23”.
H
Non-padded variable-length 24-hour format ranging from “0” to “23”.
h
Non-padded variable-length hour in day period format ranging from “1” to “12”.
Trait Implementations§
Source§impl Clone for HourFormat
impl Clone for HourFormat
impl Copy for HourFormat
Source§impl Debug for HourFormat
impl Debug for HourFormat
impl Eq for HourFormat
Source§impl Hash for HourFormat
impl Hash for HourFormat
Source§impl PartialEq for HourFormat
impl PartialEq for HourFormat
impl StructuralPartialEq for HourFormat
Auto Trait Implementations§
impl Forget for HourFormat
impl Freeze for HourFormat
impl Move for HourFormat
impl RefUnwindSafe for HourFormat
impl Send for HourFormat
impl Sync for HourFormat
impl Unpin for HourFormat
impl UnsafeUnpin for HourFormat
impl UnwindSafe for HourFormat
Blanket Implementations§
Source§impl<T> AnyEq for T
impl<T> AnyEq for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.