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