Enum embassy_stm32::rtc::DayOfWeek
source · #[repr(u8)]pub enum DayOfWeek {
Monday = 1,
Tuesday = 2,
Wednesday = 3,
Thursday = 4,
Friday = 5,
Saturday = 6,
Sunday = 7,
}
Expand description
A day of the week
Variants§
Trait Implementations§
source§impl Ord for DayOfWeek
impl Ord for DayOfWeek
source§impl PartialEq for DayOfWeek
impl PartialEq for DayOfWeek
source§impl PartialOrd for DayOfWeek
impl PartialOrd for DayOfWeek
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 DayOfWeek
impl Eq for DayOfWeek
impl StructuralEq for DayOfWeek
impl StructuralPartialEq for DayOfWeek
Auto Trait Implementations§
impl RefUnwindSafe for DayOfWeek
impl Send for DayOfWeek
impl Sync for DayOfWeek
impl Unpin for DayOfWeek
impl UnwindSafe for DayOfWeek
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