Struct Eraseprotect
pub struct Eraseprotect { /* private fields */ }
Expand description
Device erase protection.
Implementations§
§impl Eraseprotect
impl Eraseprotect
pub const unsafe fn from_ptr(ptr: *mut ()) -> Eraseprotect
pub const fn as_ptr(&self) -> *mut ()
pub const fn ctrl(self) -> Reg<EraseprotectCtrl, RW>
pub const fn ctrl(self) -> Reg<EraseprotectCtrl, RW>
Control register for erase protection.
pub const fn status(self) -> Reg<EraseprotectStatus, RW>
pub const fn status(self) -> Reg<EraseprotectStatus, RW>
Status register for eraseprotect.
Trait Implementations§
§impl Clone for Eraseprotect
impl Clone for Eraseprotect
§fn clone(&self) -> Eraseprotect
fn clone(&self) -> Eraseprotect
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 PartialEq for Eraseprotect
impl PartialEq for Eraseprotect
impl Copy for Eraseprotect
impl Eq for Eraseprotect
impl Send for Eraseprotect
impl StructuralPartialEq for Eraseprotect
impl Sync for Eraseprotect
Auto Trait Implementations§
impl Freeze for Eraseprotect
impl RefUnwindSafe for Eraseprotect
impl Unpin for Eraseprotect
impl UnwindSafe for Eraseprotect
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
)