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