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