Enum stm32_metapac::flash::vals::Dualbank
#[repr(u8)]pub enum Dualbank {
B_0X0 = 0,
B_0X1 = 1,
}
Variants§
B_0X0 = 0
Single bank Flash with contiguous address in bank 1
B_0X1 = 1
Dual-bank Flash with contiguous addresses
Implementations§
Trait Implementations§
§impl Ord for Dualbank
impl Ord for Dualbank
§impl PartialOrd for Dualbank
impl PartialOrd for Dualbank
§fn partial_cmp(&self, other: &Dualbank) -> Option<Ordering>
fn partial_cmp(&self, other: &Dualbank) -> 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 Dualbank
impl Eq for Dualbank
impl StructuralEq for Dualbank
impl StructuralPartialEq for Dualbank
Auto Trait Implementations§
impl RefUnwindSafe for Dualbank
impl Send for Dualbank
impl Sync for Dualbank
impl Unpin for Dualbank
impl UnwindSafe for Dualbank
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