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