Enum stm32_metapac::pwr::vals::ShutOff
#[repr(u8)]pub enum ShutOff {
KEPT = 0,
LOST = 1,
}
Variants§
Implementations§
Trait Implementations§
§impl Ord for ShutOff
impl Ord for ShutOff
§impl PartialOrd for ShutOff
impl PartialOrd for ShutOff
§fn partial_cmp(&self, other: &ShutOff) -> Option<Ordering>
fn partial_cmp(&self, other: &ShutOff) -> 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 ShutOff
impl Eq for ShutOff
impl StructuralEq for ShutOff
impl StructuralPartialEq for ShutOff
Auto Trait Implementations§
impl RefUnwindSafe for ShutOff
impl Send for ShutOff
impl Sync for ShutOff
impl Unpin for ShutOff
impl UnwindSafe for ShutOff
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