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