pub struct PumponeEfuseState(/* private fields */);Implementations§
Source§impl PumponeEfuseState
impl PumponeEfuseState
Sourcepub const fn with_state_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_state_checked(self, value: u8) -> Result<Self, ()>
PumpOne eFuse state.
0=ON, 1=AUTO, 2=OFF
Bits: 0..8
Sourcepub const fn with_state(self, value: u8) -> Self
pub const fn with_state(self, value: u8) -> Self
PumpOne eFuse state.
0=ON, 1=AUTO, 2=OFF
Bits: 0..8
Trait Implementations§
Source§impl Clone for PumponeEfuseState
impl Clone for PumponeEfuseState
Source§fn clone(&self) -> PumponeEfuseState
fn clone(&self) -> PumponeEfuseState
Returns a duplicate 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 moreSource§impl Debug for PumponeEfuseState
impl Debug for PumponeEfuseState
Source§impl Default for PumponeEfuseState
impl Default for PumponeEfuseState
Source§impl From<PumponeEfuseState> for u8
impl From<PumponeEfuseState> for u8
Source§fn from(v: PumponeEfuseState) -> Self
fn from(v: PumponeEfuseState) -> Self
Converts to this type from the input type.
Source§impl From<u8> for PumponeEfuseState
impl From<u8> for PumponeEfuseState
Source§impl ToCanFrame for PumponeEfuseState
impl ToCanFrame for PumponeEfuseState
impl Copy for PumponeEfuseState
Auto Trait Implementations§
impl Freeze for PumponeEfuseState
impl RefUnwindSafe for PumponeEfuseState
impl Send for PumponeEfuseState
impl Sync for PumponeEfuseState
impl Unpin for PumponeEfuseState
impl UnwindSafe for PumponeEfuseState
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