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