Enum stm32_metapac::flash::vals::OptsrNrstShdw
#[repr(u8)]pub enum OptsrNrstShdw {
B_0X0 = 0,
B_0X1 = 1,
}
Variants§
B_0X0 = 0
a reset is generated when entering Shutdown mode on core domain
B_0X1 = 1
no reset generated when entering Shutdown mode on core domain.
Implementations§
§impl OptsrNrstShdw
impl OptsrNrstShdw
pub const fn from_bits(val: u8) -> OptsrNrstShdw
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for OptsrNrstShdw
impl Clone for OptsrNrstShdw
§fn clone(&self) -> OptsrNrstShdw
fn clone(&self) -> OptsrNrstShdw
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<OptsrNrstShdw> for u8
impl From<OptsrNrstShdw> for u8
§fn from(val: OptsrNrstShdw) -> u8
fn from(val: OptsrNrstShdw) -> u8
Converts to this type from the input type.
§impl From<u8> for OptsrNrstShdw
impl From<u8> for OptsrNrstShdw
§fn from(val: u8) -> OptsrNrstShdw
fn from(val: u8) -> OptsrNrstShdw
Converts to this type from the input type.
§impl Ord for OptsrNrstShdw
impl Ord for OptsrNrstShdw
§impl PartialEq for OptsrNrstShdw
impl PartialEq for OptsrNrstShdw
§impl PartialOrd for OptsrNrstShdw
impl PartialOrd for OptsrNrstShdw
impl Copy for OptsrNrstShdw
impl Eq for OptsrNrstShdw
impl StructuralPartialEq for OptsrNrstShdw
Auto Trait Implementations§
impl Freeze for OptsrNrstShdw
impl RefUnwindSafe for OptsrNrstShdw
impl Send for OptsrNrstShdw
impl Sync for OptsrNrstShdw
impl Unpin for OptsrNrstShdw
impl UnwindSafe for OptsrNrstShdw
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
)