#[repr(transparent)]pub struct Forceprotect(pub u8);
Tuple Fields§
§0: u8
Implementations§
Source§impl Forceprotect
impl Forceprotect
Source§impl Forceprotect
impl Forceprotect
Trait Implementations§
Source§impl Clone for Forceprotect
impl Clone for Forceprotect
Source§fn clone(&self) -> Forceprotect
fn clone(&self) -> Forceprotect
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 From<Forceprotect> for u8
impl From<Forceprotect> for u8
Source§fn from(val: Forceprotect) -> u8
fn from(val: Forceprotect) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Forceprotect
impl From<u8> for Forceprotect
Source§fn from(val: u8) -> Forceprotect
fn from(val: u8) -> Forceprotect
Converts to this type from the input type.
Source§impl Ord for Forceprotect
impl Ord for Forceprotect
Source§fn cmp(&self, other: &Forceprotect) -> Ordering
fn cmp(&self, other: &Forceprotect) -> 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 Forceprotect
impl PartialEq for Forceprotect
Source§impl PartialOrd for Forceprotect
impl PartialOrd for Forceprotect
impl Copy for Forceprotect
impl Eq for Forceprotect
impl StructuralPartialEq for Forceprotect
Auto Trait Implementations§
impl Freeze for Forceprotect
impl RefUnwindSafe for Forceprotect
impl Send for Forceprotect
impl Sync for Forceprotect
impl Unpin for Forceprotect
impl UnwindSafe for Forceprotect
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
)