Enum stm32_metapac::usart::vals::Stop
#[repr(u8)]pub enum Stop {
STOP1 = 0,
STOP0P5 = 1,
STOP2 = 2,
STOP1P5 = 3,
}
Variants§
Implementations§
Trait Implementations§
§impl Ord for Stop
impl Ord for Stop
§impl PartialOrd for Stop
impl PartialOrd for Stop
§fn partial_cmp(&self, other: &Stop) -> Option<Ordering>
fn partial_cmp(&self, other: &Stop) -> 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 Stop
impl Eq for Stop
impl StructuralPartialEq for Stop
Auto Trait Implementations§
impl Freeze for Stop
impl RefUnwindSafe for Stop
impl Send for Stop
impl Sync for Stop
impl Unpin for Stop
impl UnwindSafe for Stop
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