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