#[repr(u8)]pub enum SramXenLock {
LOCK_0 = 0,
LOCK_1 = 1,
}Variants§
LOCK_0 = 0
This register is not locked and can be altered.
LOCK_1 = 1
This register is locked and cannot be altered.
Implementations§
Source§impl SramXenLock
impl SramXenLock
Trait Implementations§
Source§impl Clone for SramXenLock
impl Clone for SramXenLock
Source§fn clone(&self) -> SramXenLock
fn clone(&self) -> SramXenLock
Returns a duplicate 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 Debug for SramXenLock
impl Debug for SramXenLock
Source§impl From<SramXenLock> for u8
impl From<SramXenLock> for u8
Source§fn from(val: SramXenLock) -> u8
fn from(val: SramXenLock) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SramXenLock
impl From<u8> for SramXenLock
Source§fn from(val: u8) -> SramXenLock
fn from(val: u8) -> SramXenLock
Converts to this type from the input type.
Source§impl Ord for SramXenLock
impl Ord for SramXenLock
Source§fn cmp(&self, other: &SramXenLock) -> Ordering
fn cmp(&self, other: &SramXenLock) -> 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 SramXenLock
impl PartialEq for SramXenLock
Source§impl PartialOrd for SramXenLock
impl PartialOrd for SramXenLock
impl Copy for SramXenLock
impl Eq for SramXenLock
impl StructuralPartialEq for SramXenLock
Auto Trait Implementations§
impl Freeze for SramXenLock
impl RefUnwindSafe for SramXenLock
impl Send for SramXenLock
impl Sync for SramXenLock
impl Unpin for SramXenLock
impl UnwindSafe for SramXenLock
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