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