#[repr(i32)]pub enum CalendarSelectionMode {
SingleDate = 0,
SingleRange = 1,
MultipleRange = 2,
None = 3,
}Expand description
Specifies values that describe the available selection modes for a
Calendar.
This enumeration provides the values that are used by the SelectionMode property.
Variants§
SingleDate = 0
Only a single date can be selected. Use the
Calendar::selected_date property to retrieve the selected date.
SingleRange = 1
A single range of dates can be selected. Use the
Calendar::selected_dates property to retrieve the selected
dates.
MultipleRange = 2
Multiple non-contiguous ranges of dates can be selected. Use the
Calendar::selected_dates property to retrieve the selected
dates.
None = 3
No selections are allowed.
Trait Implementations§
Source§impl Clone for CalendarSelectionMode
impl Clone for CalendarSelectionMode
impl Copy for CalendarSelectionMode
Source§impl Debug for CalendarSelectionMode
impl Debug for CalendarSelectionMode
Source§impl Default for CalendarSelectionMode
impl Default for CalendarSelectionMode
impl Eq for CalendarSelectionMode
Source§impl Hash for CalendarSelectionMode
impl Hash for CalendarSelectionMode
Source§impl MarkupTyped for CalendarSelectionMode
impl MarkupTyped for CalendarSelectionMode
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for CalendarSelectionMode
impl PartialEq for CalendarSelectionMode
impl StructuralPartialEq for CalendarSelectionMode
Auto Trait Implementations§
impl Freeze for CalendarSelectionMode
impl RefUnwindSafe for CalendarSelectionMode
impl Send for CalendarSelectionMode
impl Sync for CalendarSelectionMode
impl Unpin for CalendarSelectionMode
impl UnsafeUnpin for CalendarSelectionMode
impl UnwindSafe for CalendarSelectionMode
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