Enum Uicrapprotect
#[repr(u8)]pub enum Uicrapprotect {
ENABLED = 0,
DISABLED = 1,
}
Variants§
Implementations§
§impl Uicrapprotect
impl Uicrapprotect
pub const fn from_bits(val: u8) -> Uicrapprotect
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Uicrapprotect
impl Clone for Uicrapprotect
§fn clone(&self) -> Uicrapprotect
fn clone(&self) -> Uicrapprotect
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 more§impl From<u8> for Uicrapprotect
impl From<u8> for Uicrapprotect
§fn from(val: u8) -> Uicrapprotect
fn from(val: u8) -> Uicrapprotect
Converts to this type from the input type.
§impl Ord for Uicrapprotect
impl Ord for Uicrapprotect
§impl PartialEq for Uicrapprotect
impl PartialEq for Uicrapprotect
§impl PartialOrd for Uicrapprotect
impl PartialOrd for Uicrapprotect
impl Copy for Uicrapprotect
impl Eq for Uicrapprotect
impl StructuralPartialEq for Uicrapprotect
Auto Trait Implementations§
impl Freeze for Uicrapprotect
impl RefUnwindSafe for Uicrapprotect
impl Send for Uicrapprotect
impl Sync for Uicrapprotect
impl Unpin for Uicrapprotect
impl UnwindSafe for Uicrapprotect
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
)