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