Enum GlitchslowdomainCtrlWriteprotection
#[repr(u8)]pub enum GlitchslowdomainCtrlWriteprotection {
Show 16 variants
DISABLED = 0,
ENABLED = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
CLEAR = 15,
}
Variants§
DISABLED = 0
Read: Write protection is disabled.
ENABLED = 1
Read: Write protection is enabled.
_RESERVED_2 = 2
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
CLEAR = 15
Write: Value to clear write protection.
Implementations§
§impl GlitchslowdomainCtrlWriteprotection
impl GlitchslowdomainCtrlWriteprotection
pub const fn from_bits(val: u8) -> GlitchslowdomainCtrlWriteprotection
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for GlitchslowdomainCtrlWriteprotection
impl Clone for GlitchslowdomainCtrlWriteprotection
§fn clone(&self) -> GlitchslowdomainCtrlWriteprotection
fn clone(&self) -> GlitchslowdomainCtrlWriteprotection
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<u8> for GlitchslowdomainCtrlWriteprotection
impl From<u8> for GlitchslowdomainCtrlWriteprotection
§fn from(val: u8) -> GlitchslowdomainCtrlWriteprotection
fn from(val: u8) -> GlitchslowdomainCtrlWriteprotection
Converts to this type from the input type.
§impl Ord for GlitchslowdomainCtrlWriteprotection
impl Ord for GlitchslowdomainCtrlWriteprotection
§fn cmp(&self, other: &GlitchslowdomainCtrlWriteprotection) -> Ordering
fn cmp(&self, other: &GlitchslowdomainCtrlWriteprotection) -> 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
§impl PartialEq for GlitchslowdomainCtrlWriteprotection
impl PartialEq for GlitchslowdomainCtrlWriteprotection
§fn eq(&self, other: &GlitchslowdomainCtrlWriteprotection) -> bool
fn eq(&self, other: &GlitchslowdomainCtrlWriteprotection) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.§impl PartialOrd for GlitchslowdomainCtrlWriteprotection
impl PartialOrd for GlitchslowdomainCtrlWriteprotection
impl Copy for GlitchslowdomainCtrlWriteprotection
impl Eq for GlitchslowdomainCtrlWriteprotection
impl StructuralPartialEq for GlitchslowdomainCtrlWriteprotection
Auto Trait Implementations§
impl Freeze for GlitchslowdomainCtrlWriteprotection
impl RefUnwindSafe for GlitchslowdomainCtrlWriteprotection
impl Send for GlitchslowdomainCtrlWriteprotection
impl Sync for GlitchslowdomainCtrlWriteprotection
impl Unpin for GlitchslowdomainCtrlWriteprotection
impl UnwindSafe for GlitchslowdomainCtrlWriteprotection
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
)