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