Enum stm32_metapac::rtc::vals::Bin
#[repr(u8)]pub enum Bin {
BCD = 0,
BINARY = 1,
BINBCD = 2,
BINBCD2 = 3,
}
Variants§
BCD = 0
Free running BCD calendar mode (Binary mode disabled)
BINARY = 1
Free running Binary mode (BCD mode disabled)
BINBCD = 2
Free running BCD calendar and Binary modes
BINBCD2 = 3
Free running BCD calendar and Binary modes
Implementations§
Trait Implementations§
§impl Ord for Bin
impl Ord for Bin
§impl PartialOrd for Bin
impl PartialOrd for Bin
§fn partial_cmp(&self, other: &Bin) -> Option<Ordering>
fn partial_cmp(&self, other: &Bin) -> 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 Bin
impl Eq for Bin
impl StructuralEq for Bin
impl StructuralPartialEq for Bin
Auto Trait Implementations§
impl RefUnwindSafe for Bin
impl Send for Bin
impl Sync for Bin
impl Unpin for Bin
impl UnwindSafe for Bin
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