Struct Approtect
#[repr(transparent)]pub struct Approtect(pub u32);
Expand description
Access port protection
Tuple Fields§
§0: u32
Implementations§
§impl Approtect
impl Approtect
pub const fn pall(&self) -> ApprotectPall
pub const fn pall(&self) -> ApprotectPall
Blocks debugger read/write access to all CPU registers and memory mapped addresses.
pub fn set_pall(&mut self, val: ApprotectPall)
pub fn set_pall(&mut self, val: ApprotectPall)
Blocks debugger read/write access to all CPU registers and memory mapped addresses.
Trait Implementations§
impl Copy for Approtect
impl Eq for Approtect
impl StructuralPartialEq for Approtect
Auto Trait Implementations§
impl Freeze for Approtect
impl RefUnwindSafe for Approtect
impl Send for Approtect
impl Sync for Approtect
impl Unpin for Approtect
impl UnwindSafe for Approtect
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
)