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