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