Enum stm32_metapac::pwr::vals::Vbath
#[repr(u8)]pub enum Vbath {
B_0X0 = 0,
B_0X1 = 1,
}
Variants§
B_0X0 = 0
Backup domain voltage level < high threshold
B_0X1 = 1
Backup domain voltage level ≥ high threshold
Implementations§
Trait Implementations§
§impl Ord for Vbath
impl Ord for Vbath
§impl PartialOrd for Vbath
impl PartialOrd for Vbath
§fn partial_cmp(&self, other: &Vbath) -> Option<Ordering>
fn partial_cmp(&self, other: &Vbath) -> 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 Vbath
impl Eq for Vbath
impl StructuralEq for Vbath
impl StructuralPartialEq for Vbath
Auto Trait Implementations§
impl RefUnwindSafe for Vbath
impl Send for Vbath
impl Sync for Vbath
impl Unpin for Vbath
impl UnwindSafe for Vbath
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