Enum stm32_metapac::crc::vals::Polysize
#[repr(u8)]pub enum Polysize {
POLYSIZE32 = 0,
POLYSIZE16 = 1,
POLYSIZE8 = 2,
POLYSIZE7 = 3,
}
Variants§
POLYSIZE32 = 0
32-bit polynomial
POLYSIZE16 = 1
16-bit polynomial
POLYSIZE8 = 2
8-bit polynomial
POLYSIZE7 = 3
7-bit polynomial
Implementations§
Trait Implementations§
§impl Ord for Polysize
impl Ord for Polysize
§impl PartialOrd for Polysize
impl PartialOrd for Polysize
§fn partial_cmp(&self, other: &Polysize) -> Option<Ordering>
fn partial_cmp(&self, other: &Polysize) -> 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 Polysize
impl Eq for Polysize
impl StructuralEq for Polysize
impl StructuralPartialEq for Polysize
Auto Trait Implementations§
impl RefUnwindSafe for Polysize
impl Send for Polysize
impl Sync for Polysize
impl Unpin for Polysize
impl UnwindSafe for Polysize
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