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