Enum stm32_metapac::flash::vals::BootSel
#[repr(u8)]pub enum BootSel {
NBOOT0 = 0,
BOOT0 = 1,
}
Variants§
NBOOT0 = 0
BOOT0 signal is defined by nBOOT0 option bit
BOOT0 = 1
BOOT0 signal is defined by BOOT0 pin value (legacy mode)
Implementations§
Trait Implementations§
§impl Ord for BootSel
impl Ord for BootSel
§impl PartialOrd for BootSel
impl PartialOrd for BootSel
§fn partial_cmp(&self, other: &BootSel) -> Option<Ordering>
fn partial_cmp(&self, other: &BootSel) -> 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 BootSel
impl Eq for BootSel
impl StructuralEq for BootSel
impl StructuralPartialEq for BootSel
Auto Trait Implementations§
impl RefUnwindSafe for BootSel
impl Send for BootSel
impl Sync for BootSel
impl Unpin for BootSel
impl UnwindSafe for BootSel
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