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