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