Enum stm32_metapac::ucpd::vals::Rxsopkinvalid
#[repr(u8)]pub enum Rxsopkinvalid {
NONE = 0,
FIRST = 1,
SECOND = 2,
THIRD = 3,
FOURTH = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
NONE = 0
No K‑code corrupted
FIRST = 1
First K‑code corrupted
SECOND = 2
Second K‑code corrupted
THIRD = 3
Third K‑code corrupted
FOURTH = 4
Fourth K‑code corrupted
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
§impl Rxsopkinvalid
impl Rxsopkinvalid
pub const fn from_bits(val: u8) -> Rxsopkinvalid
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Rxsopkinvalid
impl Clone for Rxsopkinvalid
§fn clone(&self) -> Rxsopkinvalid
fn clone(&self) -> Rxsopkinvalid
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl From<Rxsopkinvalid> for u8
impl From<Rxsopkinvalid> for u8
§fn from(val: Rxsopkinvalid) -> u8
fn from(val: Rxsopkinvalid) -> u8
Converts to this type from the input type.
§impl From<u8> for Rxsopkinvalid
impl From<u8> for Rxsopkinvalid
§fn from(val: u8) -> Rxsopkinvalid
fn from(val: u8) -> Rxsopkinvalid
Converts to this type from the input type.
§impl Ord for Rxsopkinvalid
impl Ord for Rxsopkinvalid
§impl PartialEq for Rxsopkinvalid
impl PartialEq for Rxsopkinvalid
§impl PartialOrd for Rxsopkinvalid
impl PartialOrd for Rxsopkinvalid
impl Copy for Rxsopkinvalid
impl Eq for Rxsopkinvalid
impl StructuralPartialEq for Rxsopkinvalid
Auto Trait Implementations§
impl Freeze for Rxsopkinvalid
impl RefUnwindSafe for Rxsopkinvalid
impl Send for Rxsopkinvalid
impl Sync for Rxsopkinvalid
impl Unpin for Rxsopkinvalid
impl UnwindSafe for Rxsopkinvalid
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)