Enum stm32_metapac::eth::vals::St
#[repr(u8)]pub enum St {
STOPPED = 0,
STARTED = 1,
}
Variants§
STOPPED = 0
Transmission is placed in the Stopped state
STARTED = 1
Transmission is placed in Running state
Implementations§
Trait Implementations§
§impl Ord for St
impl Ord for St
§impl PartialOrd for St
impl PartialOrd for St
§fn partial_cmp(&self, other: &St) -> Option<Ordering>
fn partial_cmp(&self, other: &St) -> 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 St
impl Eq for St
impl StructuralEq for St
impl StructuralPartialEq for St
Auto Trait Implementations§
impl RefUnwindSafe for St
impl Send for St
impl Sync for St
impl Unpin for St
impl UnwindSafe for St
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