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