#[repr(u8)]pub enum MealWeekday {
Monday = 0,
Tuesday = 1,
Wednesday = 2,
Thursday = 3,
Friday = 4,
Saturday = 5,
Sunday = 6,
}Expand description
Weekday index: Monday is zero and Sunday is six.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MealWeekday
impl Clone for MealWeekday
impl Copy for MealWeekday
Source§impl Debug for MealWeekday
impl Debug for MealWeekday
impl Eq for MealWeekday
Source§impl Hash for MealWeekday
impl Hash for MealWeekday
Source§impl PartialEq for MealWeekday
impl PartialEq for MealWeekday
Source§impl Serialize for MealWeekday
impl Serialize for MealWeekday
impl StructuralPartialEq for MealWeekday
Auto Trait Implementations§
impl Freeze for MealWeekday
impl RefUnwindSafe for MealWeekday
impl Send for MealWeekday
impl Sync for MealWeekday
impl Unpin for MealWeekday
impl UnsafeUnpin for MealWeekday
impl UnwindSafe for MealWeekday
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.