Enum stm32_metapac::eth::vals::MbProgress
#[repr(u8)]pub enum MbProgress {
_RESERVED_0 = 0,
BUSY = 1,
}
Variants§
_RESERVED_0 = 0
BUSY = 1
This bit is set to 1 by the application to indicate that a read or write access is in progress
Implementations§
§impl MbProgress
impl MbProgress
pub const fn from_bits(val: u8) -> MbProgress
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for MbProgress
impl Clone for MbProgress
§fn clone(&self) -> MbProgress
fn clone(&self) -> MbProgress
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl From<MbProgress> for u8
impl From<MbProgress> for u8
§fn from(val: MbProgress) -> u8
fn from(val: MbProgress) -> u8
Converts to this type from the input type.
§impl From<u8> for MbProgress
impl From<u8> for MbProgress
§fn from(val: u8) -> MbProgress
fn from(val: u8) -> MbProgress
Converts to this type from the input type.
§impl Ord for MbProgress
impl Ord for MbProgress
§impl PartialEq for MbProgress
impl PartialEq for MbProgress
§fn eq(&self, other: &MbProgress) -> bool
fn eq(&self, other: &MbProgress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for MbProgress
impl PartialOrd for MbProgress
§fn partial_cmp(&self, other: &MbProgress) -> Option<Ordering>
fn partial_cmp(&self, other: &MbProgress) -> 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 MbProgress
impl Eq for MbProgress
impl StructuralEq for MbProgress
impl StructuralPartialEq for MbProgress
Auto Trait Implementations§
impl RefUnwindSafe for MbProgress
impl Send for MbProgress
impl Sync for MbProgress
impl Unpin for MbProgress
impl UnwindSafe for MbProgress
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