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
§fn eq(&self, other: &OptsrNrstShdw) -> bool
fn eq(&self, other: &OptsrNrstShdw) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for OptsrNrstShdw
impl PartialOrd for OptsrNrstShdw
§fn partial_cmp(&self, other: &OptsrNrstShdw) -> Option<Ordering>
fn partial_cmp(&self, other: &OptsrNrstShdw) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for OptsrNrstShdw
impl Eq for OptsrNrstShdw
impl StructuralEq for OptsrNrstShdw
impl StructuralPartialEq for OptsrNrstShdw
Auto Trait Implementations§
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