#[repr(u8)]pub enum P1SingleFlashAllowWrite {
P1_SINGLE_FLASH_ALLOW_WRITE0 = 0,
P1_SINGLE_FLASH_ALLOW_WRITE1 = 1,
}Variants§
P1_SINGLE_FLASH_ALLOW_WRITE0 = 0
Normal operation. Writes are not allowed to unfiltered regions.
P1_SINGLE_FLASH_ALLOW_WRITE1 = 1
Writes are allowed to unfiltered regions.
Implementations§
Trait Implementations§
Source§impl Clone for P1SingleFlashAllowWrite
impl Clone for P1SingleFlashAllowWrite
Source§fn clone(&self) -> P1SingleFlashAllowWrite
fn clone(&self) -> P1SingleFlashAllowWrite
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 P1SingleFlashAllowWrite
impl Debug for P1SingleFlashAllowWrite
Source§impl From<P1SingleFlashAllowWrite> for u8
impl From<P1SingleFlashAllowWrite> for u8
Source§fn from(val: P1SingleFlashAllowWrite) -> u8
fn from(val: P1SingleFlashAllowWrite) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P1SingleFlashAllowWrite
impl From<u8> for P1SingleFlashAllowWrite
Source§fn from(val: u8) -> P1SingleFlashAllowWrite
fn from(val: u8) -> P1SingleFlashAllowWrite
Converts to this type from the input type.
Source§impl Ord for P1SingleFlashAllowWrite
impl Ord for P1SingleFlashAllowWrite
Source§fn cmp(&self, other: &P1SingleFlashAllowWrite) -> Ordering
fn cmp(&self, other: &P1SingleFlashAllowWrite) -> 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 P1SingleFlashAllowWrite
impl PartialEq for P1SingleFlashAllowWrite
Source§impl PartialOrd for P1SingleFlashAllowWrite
impl PartialOrd for P1SingleFlashAllowWrite
impl Copy for P1SingleFlashAllowWrite
impl Eq for P1SingleFlashAllowWrite
impl StructuralPartialEq for P1SingleFlashAllowWrite
Auto Trait Implementations§
impl Freeze for P1SingleFlashAllowWrite
impl RefUnwindSafe for P1SingleFlashAllowWrite
impl Send for P1SingleFlashAllowWrite
impl Sync for P1SingleFlashAllowWrite
impl Unpin for P1SingleFlashAllowWrite
impl UnwindSafe for P1SingleFlashAllowWrite
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