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