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