#[repr(transparent)]pub struct ApprotectDisableDisable(pub u8);
Tuple Fields§
§0: u8
Implementations§
Source§impl ApprotectDisableDisable
impl ApprotectDisableDisable
Sourcepub const SW_UNPROTECTED: Self
pub const SW_UNPROTECTED: Self
Software disable APPROTECT mechanism
Trait Implementations§
Source§impl Clone for ApprotectDisableDisable
impl Clone for ApprotectDisableDisable
Source§fn clone(&self) -> ApprotectDisableDisable
fn clone(&self) -> ApprotectDisableDisable
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ApprotectDisableDisable
impl Debug for ApprotectDisableDisable
Source§impl From<ApprotectDisableDisable> for u8
impl From<ApprotectDisableDisable> for u8
Source§fn from(val: ApprotectDisableDisable) -> u8
fn from(val: ApprotectDisableDisable) -> u8
Converts to this type from the input type.
Source§impl From<u8> for ApprotectDisableDisable
impl From<u8> for ApprotectDisableDisable
Source§fn from(val: u8) -> ApprotectDisableDisable
fn from(val: u8) -> ApprotectDisableDisable
Converts to this type from the input type.
Source§impl Ord for ApprotectDisableDisable
impl Ord for ApprotectDisableDisable
Source§fn cmp(&self, other: &ApprotectDisableDisable) -> Ordering
fn cmp(&self, other: &ApprotectDisableDisable) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ApprotectDisableDisable
impl PartialEq for ApprotectDisableDisable
Source§fn eq(&self, other: &ApprotectDisableDisable) -> bool
fn eq(&self, other: &ApprotectDisableDisable) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for ApprotectDisableDisable
impl PartialOrd for ApprotectDisableDisable
impl Copy for ApprotectDisableDisable
impl Eq for ApprotectDisableDisable
impl StructuralPartialEq for ApprotectDisableDisable
Auto Trait Implementations§
impl Freeze for ApprotectDisableDisable
impl RefUnwindSafe for ApprotectDisableDisable
impl Send for ApprotectDisableDisable
impl Sync for ApprotectDisableDisable
impl Unpin for ApprotectDisableDisable
impl UnwindSafe for ApprotectDisableDisable
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