#[repr(transparent)]pub struct ApprotectDisable(pub u32);
Expand description
Software disable APPROTECT mechanism
Tuple Fields§
§0: u32
Implementations§
Source§impl ApprotectDisable
impl ApprotectDisable
Sourcepub const fn disable(&self) -> ApprotectDisableDisable
pub const fn disable(&self) -> ApprotectDisableDisable
Software disable APPROTECT mechanism
Sourcepub fn set_disable(&mut self, val: ApprotectDisableDisable)
pub fn set_disable(&mut self, val: ApprotectDisableDisable)
Software disable APPROTECT mechanism
Trait Implementations§
Source§impl Clone for ApprotectDisable
impl Clone for ApprotectDisable
Source§fn clone(&self) -> ApprotectDisable
fn clone(&self) -> ApprotectDisable
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 ApprotectDisable
impl Default for ApprotectDisable
Source§fn default() -> ApprotectDisable
fn default() -> ApprotectDisable
Returns the “default value” for a type. Read more
Source§impl PartialEq for ApprotectDisable
impl PartialEq for ApprotectDisable
impl Copy for ApprotectDisable
impl Eq for ApprotectDisable
impl StructuralPartialEq for ApprotectDisable
Auto Trait Implementations§
impl Freeze for ApprotectDisable
impl RefUnwindSafe for ApprotectDisable
impl Send for ApprotectDisable
impl Sync for ApprotectDisable
impl Unpin for ApprotectDisable
impl UnwindSafe for ApprotectDisable
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
)