Enum embassy_stm32::dma::FifoThreshold
source · pub enum FifoThreshold {
Quarter,
Half,
ThreeQuarters,
Full,
}
Expand description
DMA FIFO threshold.
Variants§
Trait Implementations§
source§impl Clone for FifoThreshold
impl Clone for FifoThreshold
source§fn clone(&self) -> FifoThreshold
fn clone(&self) -> FifoThreshold
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 moresource§impl Debug for FifoThreshold
impl Debug for FifoThreshold
source§impl Format for FifoThreshold
impl Format for FifoThreshold
source§impl From<FifoThreshold> for Fth
impl From<FifoThreshold> for Fth
source§fn from(value: FifoThreshold) -> Self
fn from(value: FifoThreshold) -> Self
Converts to this type from the input type.
source§impl PartialEq for FifoThreshold
impl PartialEq for FifoThreshold
source§fn eq(&self, other: &FifoThreshold) -> bool
fn eq(&self, other: &FifoThreshold) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FifoThreshold
impl Eq for FifoThreshold
impl StructuralEq for FifoThreshold
impl StructuralPartialEq for FifoThreshold
Auto Trait Implementations§
impl RefUnwindSafe for FifoThreshold
impl Send for FifoThreshold
impl Sync for FifoThreshold
impl Unpin for FifoThreshold
impl UnwindSafe for FifoThreshold
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