#[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 BatchableResult for EraFormat
impl BatchableResult for EraFormat
fn try_placeholder(_: &mut Runtime<'_>) -> Option<Self>
Source§impl BinaryDecode for EraFormat
impl BinaryDecode for EraFormat
fn decode(decoder: &mut DecodedData<'_>) -> Result<Self, DecodeError>
Source§impl BinaryEncode for EraFormat
impl BinaryEncode for EraFormat
fn encode(self, encoder: &mut EncodedData)
impl Copy for EraFormat
Source§impl EncodeTypeDef for EraFormat
impl EncodeTypeDef for EraFormat
fn encode_type_def(type_def: &mut TypeDef)
impl Eq for EraFormat
impl FromWasmAbi for EraFormat
impl IntoWasmAbi for EraFormat
impl StructuralPartialEq for EraFormat
Source§impl TryFromJsValue for EraFormat
impl TryFromJsValue 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> FromJsFuture for Twhere
T: TryFromJsValue,
impl<T> FromJsFuture for Twhere
T: TryFromJsValue,
impl<T> OptionFromWasmAbi for Twhere
T: FromWasmAbi,
impl<T> OptionIntoWasmAbi for Twhere
T: IntoWasmAbi,
Source§impl<T> RefFromWasmAbi for Twhere
T: ?Sized,
impl<T> RefFromWasmAbi for Twhere
T: ?Sized,
Source§impl<T> ReturnAsync for T
impl<T> ReturnAsync for T
Source§impl<T> ReturnSync for Twhere
T: IntoWasmAbi,
impl<T> ReturnSync for Twhere
T: IntoWasmAbi,
Source§fn return_abi(self, encoder: &mut EncodedData)
fn return_abi(self, encoder: &mut EncodedData)
Encode
self as the function’s return payload.