#[repr(u8)]pub enum P1SingleFlash {
P1_SINGLE_FLASH0 = 0,
P1_SINGLE_FLASH1 = 1,
}Variants§
P1_SINGLE_FLASH0 = 0
Sets flash memory organization to Dual Flash mode.
P1_SINGLE_FLASH1 = 1
Sets flash memory organization to Single Flash mode.
Implementations§
Source§impl P1SingleFlash
impl P1SingleFlash
Trait Implementations§
Source§impl Clone for P1SingleFlash
impl Clone for P1SingleFlash
Source§fn clone(&self) -> P1SingleFlash
fn clone(&self) -> P1SingleFlash
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 P1SingleFlash
impl Debug for P1SingleFlash
Source§impl From<P1SingleFlash> for u8
impl From<P1SingleFlash> for u8
Source§fn from(val: P1SingleFlash) -> u8
fn from(val: P1SingleFlash) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P1SingleFlash
impl From<u8> for P1SingleFlash
Source§fn from(val: u8) -> P1SingleFlash
fn from(val: u8) -> P1SingleFlash
Converts to this type from the input type.
Source§impl Ord for P1SingleFlash
impl Ord for P1SingleFlash
Source§fn cmp(&self, other: &P1SingleFlash) -> Ordering
fn cmp(&self, other: &P1SingleFlash) -> 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 P1SingleFlash
impl PartialEq for P1SingleFlash
Source§impl PartialOrd for P1SingleFlash
impl PartialOrd for P1SingleFlash
impl Copy for P1SingleFlash
impl Eq for P1SingleFlash
impl StructuralPartialEq for P1SingleFlash
Auto Trait Implementations§
impl Freeze for P1SingleFlash
impl RefUnwindSafe for P1SingleFlash
impl Send for P1SingleFlash
impl Sync for P1SingleFlash
impl Unpin for P1SingleFlash
impl UnwindSafe for P1SingleFlash
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