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