Enum stm32_metapac::eth::vals::CounterReset
#[repr(u8)]pub enum CounterReset {
_RESERVED_0 = 0,
RESET = 1,
}
Variants§
Implementations§
§impl CounterReset
impl CounterReset
pub const fn from_bits(val: u8) -> CounterReset
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for CounterReset
impl Clone for CounterReset
§fn clone(&self) -> CounterReset
fn clone(&self) -> CounterReset
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<CounterReset> for u8
impl From<CounterReset> for u8
§fn from(val: CounterReset) -> u8
fn from(val: CounterReset) -> u8
Converts to this type from the input type.
§impl From<u8> for CounterReset
impl From<u8> for CounterReset
§fn from(val: u8) -> CounterReset
fn from(val: u8) -> CounterReset
Converts to this type from the input type.
§impl Ord for CounterReset
impl Ord for CounterReset
§impl PartialEq for CounterReset
impl PartialEq for CounterReset
§impl PartialOrd for CounterReset
impl PartialOrd for CounterReset
impl Copy for CounterReset
impl Eq for CounterReset
impl StructuralPartialEq for CounterReset
Auto Trait Implementations§
impl Freeze for CounterReset
impl RefUnwindSafe for CounterReset
impl Send for CounterReset
impl Sync for CounterReset
impl Unpin for CounterReset
impl UnwindSafe for CounterReset
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)