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