#[non_exhaustive]pub enum CalendarDisplay {
Auto = 0,
Always = 1,
Never = 2,
Critical = 3,
}Expand description
Calendar display option for toString() methods.
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§
Source§impl CalendarDisplay
impl CalendarDisplay
pub fn from_js_value(obj: &JsValue) -> Option<CalendarDisplay>
Trait Implementations§
Source§impl Clone for CalendarDisplay
impl Clone for CalendarDisplay
impl Copy for CalendarDisplay
Source§impl Debug for CalendarDisplay
impl Debug for CalendarDisplay
impl Eq for CalendarDisplay
Source§impl From<CalendarDisplay> for JsValue
impl From<CalendarDisplay> for JsValue
Source§fn from(val: CalendarDisplay) -> Self
fn from(val: CalendarDisplay) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for CalendarDisplay
impl FromWasmAbi for CalendarDisplay
Source§impl IntoWasmAbi for CalendarDisplay
impl IntoWasmAbi for CalendarDisplay
Source§impl OptionFromWasmAbi for CalendarDisplay
impl OptionFromWasmAbi for CalendarDisplay
Source§impl OptionIntoWasmAbi for CalendarDisplay
impl OptionIntoWasmAbi for CalendarDisplay
Source§impl PartialEq for CalendarDisplay
impl PartialEq for CalendarDisplay
impl StructuralPartialEq for CalendarDisplay
Source§impl TryFromJsValue for CalendarDisplay
impl TryFromJsValue for CalendarDisplay
Source§impl VectorFromWasmAbi for CalendarDisplay
impl VectorFromWasmAbi for CalendarDisplay
Source§impl VectorIntoWasmAbi for CalendarDisplay
impl VectorIntoWasmAbi for CalendarDisplay
Source§impl VectorRefIntoWasmAbi for CalendarDisplay
impl VectorRefIntoWasmAbi for CalendarDisplay
fn slice_into_abi(slice: &[Self]) -> WasmSlice
impl VectorRefIntoWasmAbiSealed for CalendarDisplay
Source§impl WasmDescribeVector for CalendarDisplay
impl WasmDescribeVector for CalendarDisplay
Auto Trait Implementations§
impl Forget for CalendarDisplay
impl Freeze for CalendarDisplay
impl Move for CalendarDisplay
impl RefUnwindSafe for CalendarDisplay
impl Send for CalendarDisplay
impl Sync for CalendarDisplay
impl Unpin for CalendarDisplay
impl UnsafeUnpin for CalendarDisplay
impl UnwindSafe for CalendarDisplay
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> MaybeFromWasmAbi for Twhere
T: OptionFromWasmAbi,
impl<T> MaybeFromWasmAbi for Twhere
T: OptionFromWasmAbi,
Source§type MaybeAbi = <T as FromWasmAbi>::Abi
type MaybeAbi = <T as FromWasmAbi>::Abi
The ABI of
Option<Self>.Source§unsafe fn from_maybe_abi(js: <T as FromWasmAbi>::Abi) -> T
unsafe fn from_maybe_abi(js: <T as FromWasmAbi>::Abi) -> T
unsafe fn try_from_maybe_abi( js: <T as FromWasmAbi>::Abi, ) -> Result<T, &'static str>
Source§impl<T> MaybeIntoWasmAbi for Twhere
T: OptionIntoWasmAbi,
impl<T> MaybeIntoWasmAbi for Twhere
T: OptionIntoWasmAbi,
Source§type MaybeAbi = <T as IntoWasmAbi>::Abi
type MaybeAbi = <T as IntoWasmAbi>::Abi
The ABI of
Option<Self>.Source§fn into_maybe_abi(self) -> <T as IntoWasmAbi>::Abi
fn into_maybe_abi(self) -> <T as IntoWasmAbi>::Abi
Converts a value into the
Option<Self> ABI.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.