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