Enum stm32_metapac::gpio::vals::Ospeedr
#[repr(u8)]pub enum Ospeedr {
LOWSPEED = 0,
MEDIUMSPEED = 1,
HIGHSPEED = 2,
VERYHIGHSPEED = 3,
}
Variants§
LOWSPEED = 0
Low speed
MEDIUMSPEED = 1
Medium speed
HIGHSPEED = 2
High speed
VERYHIGHSPEED = 3
Very high speed
Implementations§
Trait Implementations§
§impl Ord for Ospeedr
impl Ord for Ospeedr
§impl PartialOrd for Ospeedr
impl PartialOrd for Ospeedr
§fn partial_cmp(&self, other: &Ospeedr) -> Option<Ordering>
fn partial_cmp(&self, other: &Ospeedr) -> 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 Ospeedr
impl Eq for Ospeedr
impl StructuralEq for Ospeedr
impl StructuralPartialEq for Ospeedr
Auto Trait Implementations§
impl RefUnwindSafe for Ospeedr
impl Send for Ospeedr
impl Sync for Ospeedr
impl Unpin for Ospeedr
impl UnwindSafe for Ospeedr
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