#[repr(i32)]pub enum CalendarMode {
Month = 0,
Year = 1,
Decade = 2,
}Expand description
Specifies values for the different modes of operation of a
Calendar.
Variants§
Month = 0
The Calendar displays a month at a time.
Year = 1
The Calendar displays a year at a time.
Decade = 2
The Calendar displays a decade at a time.
Trait Implementations§
Source§impl Clone for CalendarMode
impl Clone for CalendarMode
impl Copy for CalendarMode
Source§impl Debug for CalendarMode
impl Debug for CalendarMode
Source§impl Default for CalendarMode
impl Default for CalendarMode
impl Eq for CalendarMode
Source§impl Hash for CalendarMode
impl Hash for CalendarMode
Source§impl MarkupTyped for CalendarMode
impl MarkupTyped for CalendarMode
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for CalendarMode
impl PartialEq for CalendarMode
impl StructuralPartialEq for CalendarMode
Auto Trait Implementations§
impl Freeze for CalendarMode
impl RefUnwindSafe for CalendarMode
impl Send for CalendarMode
impl Sync for CalendarMode
impl Unpin for CalendarMode
impl UnsafeUnpin for CalendarMode
impl UnwindSafe for CalendarMode
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more