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