#[repr(transparent)]pub struct ApprotectLock(pub u32);
Expand description
This register locks the APPROTECT.DISABLE register from being written to until next reset.
Tuple Fields§
§0: u32
Implementations§
Trait Implementations§
Source§impl Clone for ApprotectLock
impl Clone for ApprotectLock
Source§fn clone(&self) -> ApprotectLock
fn clone(&self) -> ApprotectLock
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 Default for ApprotectLock
impl Default for ApprotectLock
Source§fn default() -> ApprotectLock
fn default() -> ApprotectLock
Returns the “default value” for a type. Read more
Source§impl PartialEq for ApprotectLock
impl PartialEq for ApprotectLock
impl Copy for ApprotectLock
impl Eq for ApprotectLock
impl StructuralPartialEq for ApprotectLock
Auto Trait Implementations§
impl Freeze for ApprotectLock
impl RefUnwindSafe for ApprotectLock
impl Send for ApprotectLock
impl Sync for ApprotectLock
impl Unpin for ApprotectLock
impl UnwindSafe for ApprotectLock
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
)