Struct stm32_metapac::flash::vals::NvsrNvstate
#[repr(transparent)]pub struct NvsrNvstate(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl NvsrNvstate
impl NvsrNvstate
§impl NvsrNvstate
impl NvsrNvstate
pub const fn from_bits(val: u8) -> NvsrNvstate
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for NvsrNvstate
impl Clone for NvsrNvstate
§fn clone(&self) -> NvsrNvstate
fn clone(&self) -> NvsrNvstate
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<NvsrNvstate> for u8
impl From<NvsrNvstate> for u8
§fn from(val: NvsrNvstate) -> u8
fn from(val: NvsrNvstate) -> u8
Converts to this type from the input type.
§impl From<u8> for NvsrNvstate
impl From<u8> for NvsrNvstate
§fn from(val: u8) -> NvsrNvstate
fn from(val: u8) -> NvsrNvstate
Converts to this type from the input type.
§impl Ord for NvsrNvstate
impl Ord for NvsrNvstate
§impl PartialEq for NvsrNvstate
impl PartialEq for NvsrNvstate
§impl PartialOrd for NvsrNvstate
impl PartialOrd for NvsrNvstate
impl Copy for NvsrNvstate
impl Eq for NvsrNvstate
impl StructuralPartialEq for NvsrNvstate
Auto Trait Implementations§
impl Freeze for NvsrNvstate
impl RefUnwindSafe for NvsrNvstate
impl Send for NvsrNvstate
impl Sync for NvsrNvstate
impl Unpin for NvsrNvstate
impl UnwindSafe for NvsrNvstate
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
)