Struct EraseprotectCtrlKey
#[repr(transparent)]pub struct EraseprotectCtrlKey(pub u16);
Tuple Fields§
§0: u16
Implementations§
§impl EraseprotectCtrlKey
impl EraseprotectCtrlKey
pub const KEY: EraseprotectCtrlKey = _
pub const KEY: EraseprotectCtrlKey = _
Write key value.
§impl EraseprotectCtrlKey
impl EraseprotectCtrlKey
pub const fn from_bits(val: u16) -> EraseprotectCtrlKey
pub const fn to_bits(self) -> u16
Trait Implementations§
§impl Clone for EraseprotectCtrlKey
impl Clone for EraseprotectCtrlKey
§fn clone(&self) -> EraseprotectCtrlKey
fn clone(&self) -> EraseprotectCtrlKey
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<u16> for EraseprotectCtrlKey
impl From<u16> for EraseprotectCtrlKey
§fn from(val: u16) -> EraseprotectCtrlKey
fn from(val: u16) -> EraseprotectCtrlKey
Converts to this type from the input type.
§impl Ord for EraseprotectCtrlKey
impl Ord for EraseprotectCtrlKey
§fn cmp(&self, other: &EraseprotectCtrlKey) -> Ordering
fn cmp(&self, other: &EraseprotectCtrlKey) -> 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 EraseprotectCtrlKey
impl PartialEq for EraseprotectCtrlKey
§impl PartialOrd for EraseprotectCtrlKey
impl PartialOrd for EraseprotectCtrlKey
impl Copy for EraseprotectCtrlKey
impl Eq for EraseprotectCtrlKey
impl StructuralPartialEq for EraseprotectCtrlKey
Auto Trait Implementations§
impl Freeze for EraseprotectCtrlKey
impl RefUnwindSafe for EraseprotectCtrlKey
impl Send for EraseprotectCtrlKey
impl Sync for EraseprotectCtrlKey
impl Unpin for EraseprotectCtrlKey
impl UnwindSafe for EraseprotectCtrlKey
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
)