Enum rp_pac::otp::vals::SwLockNsec
source · #[repr(u8)]pub enum SwLockNsec {
READ_WRITE = 0,
READ_ONLY = 1,
_RESERVED_2 = 2,
INACCESSIBLE = 3,
}
Variants§
Implementations§
source§impl SwLockNsec
impl SwLockNsec
Trait Implementations§
source§impl Clone for SwLockNsec
impl Clone for SwLockNsec
source§fn clone(&self) -> SwLockNsec
fn clone(&self) -> SwLockNsec
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 moresource§impl From<SwLockNsec> for u8
impl From<SwLockNsec> for u8
source§fn from(val: SwLockNsec) -> u8
fn from(val: SwLockNsec) -> u8
Converts to this type from the input type.
source§impl From<u8> for SwLockNsec
impl From<u8> for SwLockNsec
source§fn from(val: u8) -> SwLockNsec
fn from(val: u8) -> SwLockNsec
Converts to this type from the input type.
source§impl Ord for SwLockNsec
impl Ord for SwLockNsec
source§fn cmp(&self, other: &SwLockNsec) -> Ordering
fn cmp(&self, other: &SwLockNsec) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SwLockNsec
impl PartialEq for SwLockNsec
source§impl PartialOrd for SwLockNsec
impl PartialOrd for SwLockNsec
impl Copy for SwLockNsec
impl Eq for SwLockNsec
impl StructuralPartialEq for SwLockNsec
Auto Trait Implementations§
impl Freeze for SwLockNsec
impl RefUnwindSafe for SwLockNsec
impl Send for SwLockNsec
impl Sync for SwLockNsec
impl Unpin for SwLockNsec
impl UnwindSafe for SwLockNsec
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
)