Struct stm32_metapac::flash::vals::NvsrpNvstate
#[repr(transparent)]pub struct NvsrpNvstate(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl NvsrpNvstate
impl NvsrpNvstate
§impl NvsrpNvstate
impl NvsrpNvstate
pub const fn from_bits(val: u8) -> NvsrpNvstate
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for NvsrpNvstate
impl Clone for NvsrpNvstate
§fn clone(&self) -> NvsrpNvstate
fn clone(&self) -> NvsrpNvstate
Returns a copy 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 more§impl From<NvsrpNvstate> for u8
impl From<NvsrpNvstate> for u8
§fn from(val: NvsrpNvstate) -> u8
fn from(val: NvsrpNvstate) -> u8
Converts to this type from the input type.
§impl From<u8> for NvsrpNvstate
impl From<u8> for NvsrpNvstate
§fn from(val: u8) -> NvsrpNvstate
fn from(val: u8) -> NvsrpNvstate
Converts to this type from the input type.
§impl Ord for NvsrpNvstate
impl Ord for NvsrpNvstate
§impl PartialEq for NvsrpNvstate
impl PartialEq for NvsrpNvstate
§impl PartialOrd for NvsrpNvstate
impl PartialOrd for NvsrpNvstate
impl Copy for NvsrpNvstate
impl Eq for NvsrpNvstate
impl StructuralPartialEq for NvsrpNvstate
Auto Trait Implementations§
impl Freeze for NvsrpNvstate
impl RefUnwindSafe for NvsrpNvstate
impl Send for NvsrpNvstate
impl Sync for NvsrpNvstate
impl Unpin for NvsrpNvstate
impl UnwindSafe for NvsrpNvstate
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)