#[repr(u16)]pub enum Year {
Y2016 = 2_016,
Y2017 = 2_017,
Y2018 = 2_018,
Y2019 = 2_019,
Y2020 = 2_020,
Y2021 = 2_021,
Y2022 = 2_022,
Y2023 = 2_023,
}
Expand description
Represents a year of advent of code challenges.
Variants§
Y2016 = 2_016
Y2017 = 2_017
Y2018 = 2_018
Y2019 = 2_019
Y2020 = 2_020
Y2021 = 2_021
Y2022 = 2_022
Y2023 = 2_023
Implementations§
Trait Implementations§
impl Copy for Year
impl Eq for Year
impl StructuralPartialEq for Year
Auto Trait Implementations§
impl Freeze for Year
impl RefUnwindSafe for Year
impl Send for Year
impl Sync for Year
impl Unpin for Year
impl UnwindSafe for Year
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.