Enum stm32_metapac::dma::vals::Pfctrl
#[repr(u8)]pub enum Pfctrl {
DMA = 0,
PERIPHERAL = 1,
}
Variants§
Implementations§
Trait Implementations§
§impl Ord for Pfctrl
impl Ord for Pfctrl
§impl PartialOrd for Pfctrl
impl PartialOrd for Pfctrl
§fn partial_cmp(&self, other: &Pfctrl) -> Option<Ordering>
fn partial_cmp(&self, other: &Pfctrl) -> 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 Pfctrl
impl Eq for Pfctrl
impl StructuralEq for Pfctrl
impl StructuralPartialEq for Pfctrl
Auto Trait Implementations§
impl RefUnwindSafe for Pfctrl
impl Send for Pfctrl
impl Sync for Pfctrl
impl Unpin for Pfctrl
impl UnwindSafe for Pfctrl
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