Enum stm32_metapac::flash::vals::Bksel
#[repr(u8)]pub enum Bksel {
BANK1 = 0,
BANK2 = 1,
}
Variants§
BANK1 = 0
Bank1 is selected for Bank erase / sector erase / interrupt enable
BANK2 = 1
Bank1 is selected for Bank erase / sector erase / interrupt enable
Implementations§
Trait Implementations§
§impl Ord for Bksel
impl Ord for Bksel
§impl PartialOrd for Bksel
impl PartialOrd for Bksel
§fn partial_cmp(&self, other: &Bksel) -> Option<Ordering>
fn partial_cmp(&self, other: &Bksel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Bksel
impl Eq for Bksel
impl StructuralEq for Bksel
impl StructuralPartialEq for Bksel
Auto Trait Implementations§
impl RefUnwindSafe for Bksel
impl Send for Bksel
impl Sync for Bksel
impl Unpin for Bksel
impl UnwindSafe for Bksel
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