Enum stm32_metapac::crc::vals::RevIn
#[repr(u8)]pub enum RevIn {
NORMAL = 0,
BYTE = 1,
HALFWORD = 2,
WORD = 3,
}
Variants§
NORMAL = 0
Bit order not affected
BYTE = 1
Bit reversal done by byte
HALFWORD = 2
Bit reversal done by half-word
WORD = 3
Bit reversal done by word
Implementations§
Trait Implementations§
§impl Ord for RevIn
impl Ord for RevIn
§impl PartialOrd for RevIn
impl PartialOrd for RevIn
§fn partial_cmp(&self, other: &RevIn) -> Option<Ordering>
fn partial_cmp(&self, other: &RevIn) -> 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 RevIn
impl Eq for RevIn
impl StructuralEq for RevIn
impl StructuralPartialEq for RevIn
Auto Trait Implementations§
impl RefUnwindSafe for RevIn
impl Send for RevIn
impl Sync for RevIn
impl Unpin for RevIn
impl UnwindSafe for RevIn
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