#[non_exhaustive]pub enum DayFormat {
Numeric = 0,
TwoDigit = 1,
}Expand description
Day format for Intl.DateTimeFormat.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl FromWasmAbi for DayFormat
impl FromWasmAbi for DayFormat
Source§impl IntoWasmAbi for DayFormat
impl IntoWasmAbi for DayFormat
Source§impl OptionFromWasmAbi for DayFormat
impl OptionFromWasmAbi for DayFormat
Source§impl OptionIntoWasmAbi for DayFormat
impl OptionIntoWasmAbi for DayFormat
impl Copy for DayFormat
impl Eq for DayFormat
impl StructuralPartialEq for DayFormat
Auto Trait Implementations§
impl Freeze for DayFormat
impl RefUnwindSafe for DayFormat
impl Send for DayFormat
impl Sync for DayFormat
impl Unpin for DayFormat
impl UnsafeUnpin for DayFormat
impl UnwindSafe for DayFormat
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.