Struct ApprotectApprotect
pub struct ApprotectApprotect { /* private fields */ }Expand description
Unspecified.
Implementations§
§impl ApprotectApprotect
impl ApprotectApprotect
pub const unsafe fn from_ptr(ptr: *mut ()) -> ApprotectApprotect
pub const fn as_ptr(&self) -> *mut ()
pub const fn disable(self) -> Reg<ApprotectDisable, RW>
pub const fn disable(self) -> Reg<ApprotectDisable, RW>
Software disable APPROTECT mechanism.
pub const fn forceprotect(self) -> Reg<ApprotectForceprotect, RW>
pub const fn forceprotect(self) -> Reg<ApprotectForceprotect, RW>
Software force APPROTECT mechanism.
Trait Implementations§
§impl Clone for ApprotectApprotect
impl Clone for ApprotectApprotect
§fn clone(&self) -> ApprotectApprotect
fn clone(&self) -> ApprotectApprotect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ApprotectApprotect
impl Eq for ApprotectApprotect
§impl PartialEq for ApprotectApprotect
impl PartialEq for ApprotectApprotect
impl Send for ApprotectApprotect
impl StructuralPartialEq for ApprotectApprotect
impl Sync for ApprotectApprotect
Auto Trait Implementations§
impl Freeze for ApprotectApprotect
impl RefUnwindSafe for ApprotectApprotect
impl Unpin for ApprotectApprotect
impl UnsafeUnpin for ApprotectApprotect
impl UnwindSafe for ApprotectApprotect
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