pub enum Season {
Spring = 1,
Summer = 2,
Autumn = 3,
Winter = 4,
}Variants§
Implementations§
Trait Implementations§
source§impl Ord for Season
impl Ord for Season
source§impl PartialEq for Season
impl PartialEq for Season
source§impl PartialOrd for Season
impl PartialOrd for Season
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for Season
impl Eq for Season
impl StructuralEq for Season
impl StructuralPartialEq for Season
Auto Trait Implementations§
impl RefUnwindSafe for Season
impl Send for Season
impl Sync for Season
impl Unpin for Season
impl UnwindSafe for Season
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