#[repr(u8)]pub enum IfrEraseDis0 {
ENABLE = 0,
DISABLE = 1,
}Variants§
ENABLE = 0
Enable IFR sector erase.
DISABLE = 1
Disable IFR sector erase, write one lock until a system reset.
Implementations§
Source§impl IfrEraseDis0
impl IfrEraseDis0
Trait Implementations§
Source§impl Clone for IfrEraseDis0
impl Clone for IfrEraseDis0
Source§fn clone(&self) -> IfrEraseDis0
fn clone(&self) -> IfrEraseDis0
Returns a duplicate 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 Debug for IfrEraseDis0
impl Debug for IfrEraseDis0
Source§impl From<IfrEraseDis0> for u8
impl From<IfrEraseDis0> for u8
Source§fn from(val: IfrEraseDis0) -> u8
fn from(val: IfrEraseDis0) -> u8
Converts to this type from the input type.
Source§impl From<u8> for IfrEraseDis0
impl From<u8> for IfrEraseDis0
Source§fn from(val: u8) -> IfrEraseDis0
fn from(val: u8) -> IfrEraseDis0
Converts to this type from the input type.
Source§impl Ord for IfrEraseDis0
impl Ord for IfrEraseDis0
Source§fn cmp(&self, other: &IfrEraseDis0) -> Ordering
fn cmp(&self, other: &IfrEraseDis0) -> 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 IfrEraseDis0
impl PartialEq for IfrEraseDis0
Source§impl PartialOrd for IfrEraseDis0
impl PartialOrd for IfrEraseDis0
impl Copy for IfrEraseDis0
impl Eq for IfrEraseDis0
impl StructuralPartialEq for IfrEraseDis0
Auto Trait Implementations§
impl Freeze for IfrEraseDis0
impl RefUnwindSafe for IfrEraseDis0
impl Send for IfrEraseDis0
impl Sync for IfrEraseDis0
impl Unpin for IfrEraseDis0
impl UnwindSafe for IfrEraseDis0
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