Enum stm32_metapac::fmc::vals::Modes
#[repr(u8)]pub enum Modes {
NORMAL = 0,
SELFREFRESH = 1,
POWERDOWN = 2,
_RESERVED_3 = 3,
}
Variants§
NORMAL = 0
Normal Mode
SELFREFRESH = 1
Self-refresh mode
POWERDOWN = 2
Power-down mode
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for Modes
impl Ord for Modes
§impl PartialOrd for Modes
impl PartialOrd for Modes
§fn partial_cmp(&self, other: &Modes) -> Option<Ordering>
fn partial_cmp(&self, other: &Modes) -> 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 Modes
impl Eq for Modes
impl StructuralEq for Modes
impl StructuralPartialEq for Modes
Auto Trait Implementations§
impl RefUnwindSafe for Modes
impl Send for Modes
impl Sync for Modes
impl Unpin for Modes
impl UnwindSafe for Modes
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