Enum stm32_metapac::rtc::vals::Ampm
#[repr(u8)]pub enum Ampm {
AM = 0,
PM = 1,
}
Variants§
Implementations§
Trait Implementations§
§impl Ord for Ampm
impl Ord for Ampm
§impl PartialOrd for Ampm
impl PartialOrd for Ampm
§fn partial_cmp(&self, other: &Ampm) -> Option<Ordering>
fn partial_cmp(&self, other: &Ampm) -> Option<Ordering>
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 Ampm
impl Eq for Ampm
impl StructuralEq for Ampm
impl StructuralPartialEq for Ampm
Auto Trait Implementations§
impl RefUnwindSafe for Ampm
impl Send for Ampm
impl Sync for Ampm
impl Unpin for Ampm
impl UnwindSafe for Ampm
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