Enum stm32_metapac::saes::vals::Datatype
#[repr(u8)]pub enum Datatype {
NONE = 0,
HALFWORD = 1,
BYTE = 2,
BIT = 3,
}
Variants§
NONE = 0
No swapping (32-bit data).
HALFWORD = 1
Half-word swapping (16-bit data)
BYTE = 2
Byte swapping (8-bit data)
BIT = 3
Bit-level swapping
Implementations§
Trait Implementations§
§impl Ord for Datatype
impl Ord for Datatype
§impl PartialOrd for Datatype
impl PartialOrd for Datatype
§fn partial_cmp(&self, other: &Datatype) -> Option<Ordering>
fn partial_cmp(&self, other: &Datatype) -> 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 Datatype
impl Eq for Datatype
impl StructuralEq for Datatype
impl StructuralPartialEq for Datatype
Auto Trait Implementations§
impl RefUnwindSafe for Datatype
impl Send for Datatype
impl Sync for Datatype
impl Unpin for Datatype
impl UnwindSafe for Datatype
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