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