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