#[repr(u8)]pub enum ProtlvlLock {
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 until a system reset.
Implementations§
Source§impl ProtlvlLock
impl ProtlvlLock
Trait Implementations§
Source§impl Clone for ProtlvlLock
impl Clone for ProtlvlLock
Source§fn clone(&self) -> ProtlvlLock
fn clone(&self) -> ProtlvlLock
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 ProtlvlLock
impl Debug for ProtlvlLock
Source§impl From<ProtlvlLock> for u8
impl From<ProtlvlLock> for u8
Source§fn from(val: ProtlvlLock) -> u8
fn from(val: ProtlvlLock) -> u8
Converts to this type from the input type.
Source§impl From<u8> for ProtlvlLock
impl From<u8> for ProtlvlLock
Source§fn from(val: u8) -> ProtlvlLock
fn from(val: u8) -> ProtlvlLock
Converts to this type from the input type.
Source§impl Ord for ProtlvlLock
impl Ord for ProtlvlLock
Source§fn cmp(&self, other: &ProtlvlLock) -> Ordering
fn cmp(&self, other: &ProtlvlLock) -> 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 ProtlvlLock
impl PartialEq for ProtlvlLock
Source§impl PartialOrd for ProtlvlLock
impl PartialOrd for ProtlvlLock
impl Copy for ProtlvlLock
impl Eq for ProtlvlLock
impl StructuralPartialEq for ProtlvlLock
Auto Trait Implementations§
impl Freeze for ProtlvlLock
impl RefUnwindSafe for ProtlvlLock
impl Send for ProtlvlLock
impl Sync for ProtlvlLock
impl Unpin for ProtlvlLock
impl UnwindSafe for ProtlvlLock
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