#[repr(u8)]pub enum CalendarWeekRule {
FirstDay = 0,
FirstFullWeek = 1,
FirstFourDayWeek = 2,
}Expand description
The rule that determines the first week of a year
(.NET System.Globalization.CalendarWeekRule).
Variants§
FirstDay = 0
The first week starts on the first day of the year.
FirstFullWeek = 1
The first week is the first one that lies completely in the year.
FirstFourDayWeek = 2
The first week is the first one with four or more days in the year.
Trait Implementations§
Source§impl Clone for CalendarWeekRule
impl Clone for CalendarWeekRule
impl Copy for CalendarWeekRule
Source§impl Debug for CalendarWeekRule
impl Debug for CalendarWeekRule
Source§impl Default for CalendarWeekRule
impl Default for CalendarWeekRule
impl Eq for CalendarWeekRule
Source§impl Hash for CalendarWeekRule
impl Hash for CalendarWeekRule
Source§impl MarkupTyped for CalendarWeekRule
impl MarkupTyped for CalendarWeekRule
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for CalendarWeekRule
impl PartialEq for CalendarWeekRule
impl StructuralPartialEq for CalendarWeekRule
Auto Trait Implementations§
impl Freeze for CalendarWeekRule
impl RefUnwindSafe for CalendarWeekRule
impl Send for CalendarWeekRule
impl Sync for CalendarWeekRule
impl Unpin for CalendarWeekRule
impl UnsafeUnpin for CalendarWeekRule
impl UnwindSafe for CalendarWeekRule
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