#[non_exhaustive]pub enum EraFormat {
Narrow = 0,
Short = 1,
Long = 2,
}Expand description
Era 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 EraFormat
impl FromWasmAbi for EraFormat
Source§impl IntoWasmAbi for EraFormat
impl IntoWasmAbi for EraFormat
Source§impl OptionFromWasmAbi for EraFormat
impl OptionFromWasmAbi for EraFormat
Source§impl OptionIntoWasmAbi for EraFormat
impl OptionIntoWasmAbi for EraFormat
impl Copy for EraFormat
impl Eq for EraFormat
impl StructuralPartialEq for EraFormat
Auto Trait Implementations§
impl Freeze for EraFormat
impl RefUnwindSafe for EraFormat
impl Send for EraFormat
impl Sync for EraFormat
impl Unpin for EraFormat
impl UnsafeUnpin for EraFormat
impl UnwindSafe for EraFormat
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.