#[repr(u8)]pub enum IsoWeek {
Show 53 variants
W1 = 1,
W2 = 2,
W3 = 3,
W4 = 4,
W5 = 5,
W6 = 6,
W7 = 7,
W8 = 8,
W9 = 9,
W10 = 10,
W11 = 11,
W12 = 12,
W13 = 13,
W14 = 14,
W15 = 15,
W16 = 16,
W17 = 17,
W18 = 18,
W19 = 19,
W20 = 20,
W21 = 21,
W22 = 22,
W23 = 23,
W24 = 24,
W25 = 25,
W26 = 26,
W27 = 27,
W28 = 28,
W29 = 29,
W30 = 30,
W31 = 31,
W32 = 32,
W33 = 33,
W34 = 34,
W35 = 35,
W36 = 36,
W37 = 37,
W38 = 38,
W39 = 39,
W40 = 40,
W41 = 41,
W42 = 42,
W43 = 43,
W44 = 44,
W45 = 45,
W46 = 46,
W47 = 47,
W48 = 48,
W49 = 49,
W50 = 50,
W51 = 51,
W52 = 52,
W53 = 53,
}Expand description
An ISO week ranging from W1 to W53.
Variants§
W1 = 1
W2 = 2
W3 = 3
W4 = 4
W5 = 5
W6 = 6
W7 = 7
W8 = 8
W9 = 9
W10 = 10
W11 = 11
W12 = 12
W13 = 13
W14 = 14
W15 = 15
W16 = 16
W17 = 17
W18 = 18
W19 = 19
W20 = 20
W21 = 21
W22 = 22
W23 = 23
W24 = 24
W25 = 25
W26 = 26
W27 = 27
W28 = 28
W29 = 29
W30 = 30
W31 = 31
W32 = 32
W33 = 33
W34 = 34
W35 = 35
W36 = 36
W37 = 37
W38 = 38
W39 = 39
W40 = 40
W41 = 41
W42 = 42
W43 = 43
W44 = 44
W45 = 45
W46 = 46
W47 = 47
W48 = 48
W49 = 49
W50 = 50
W51 = 51
W52 = 52
W53 = 53
Implementations§
Trait Implementations§
impl Copy for IsoWeek
impl Eq for IsoWeek
Source§impl Ord for IsoWeek
impl Ord for IsoWeek
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for IsoWeek
impl PartialOrd for IsoWeek
impl StructuralPartialEq for IsoWeek
Auto Trait Implementations§
impl Freeze for IsoWeek
impl RefUnwindSafe for IsoWeek
impl Send for IsoWeek
impl Sync for IsoWeek
impl Unpin for IsoWeek
impl UnsafeUnpin for IsoWeek
impl UnwindSafe for IsoWeek
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