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