Enum stm32_metapac::flash::vals::OptsrNrstStdby
#[repr(u8)]pub enum OptsrNrstStdby {
B_0X0 = 0,
B_0X1 = 1,
}
Variants§
B_0X0 = 0
a reset is generated when entering Standby mode on core domain
B_0X1 = 1
no reset generated when entering Standby mode on core domain.
Implementations§
§impl OptsrNrstStdby
impl OptsrNrstStdby
pub const fn from_bits(val: u8) -> OptsrNrstStdby
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for OptsrNrstStdby
impl Clone for OptsrNrstStdby
§fn clone(&self) -> OptsrNrstStdby
fn clone(&self) -> OptsrNrstStdby
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<OptsrNrstStdby> for u8
impl From<OptsrNrstStdby> for u8
§fn from(val: OptsrNrstStdby) -> u8
fn from(val: OptsrNrstStdby) -> u8
Converts to this type from the input type.
§impl From<u8> for OptsrNrstStdby
impl From<u8> for OptsrNrstStdby
§fn from(val: u8) -> OptsrNrstStdby
fn from(val: u8) -> OptsrNrstStdby
Converts to this type from the input type.
§impl Ord for OptsrNrstStdby
impl Ord for OptsrNrstStdby
§impl PartialEq for OptsrNrstStdby
impl PartialEq for OptsrNrstStdby
§fn eq(&self, other: &OptsrNrstStdby) -> bool
fn eq(&self, other: &OptsrNrstStdby) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for OptsrNrstStdby
impl PartialOrd for OptsrNrstStdby
§fn partial_cmp(&self, other: &OptsrNrstStdby) -> Option<Ordering>
fn partial_cmp(&self, other: &OptsrNrstStdby) -> 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 OptsrNrstStdby
impl Eq for OptsrNrstStdby
impl StructuralEq for OptsrNrstStdby
impl StructuralPartialEq for OptsrNrstStdby
Auto Trait Implementations§
impl RefUnwindSafe for OptsrNrstStdby
impl Send for OptsrNrstStdby
impl Sync for OptsrNrstStdby
impl Unpin for OptsrNrstStdby
impl UnwindSafe for OptsrNrstStdby
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