Struct stm32_metapac::metadata::DmaChannel
pub struct DmaChannel {
pub name: &'static str,
pub dma: &'static str,
pub channel: u32,
pub dmamux: Option<&'static str>,
pub dmamux_channel: Option<u32>,
}
Fields§
§name: &'static str
§dma: &'static str
§channel: u32
§dmamux: Option<&'static str>
§dmamux_channel: Option<u32>
Trait Implementations§
§impl Clone for DmaChannel
impl Clone for DmaChannel
§fn clone(&self) -> DmaChannel
fn clone(&self) -> DmaChannel
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 Debug for DmaChannel
impl Debug for DmaChannel
§impl PartialEq for DmaChannel
impl PartialEq for DmaChannel
§fn eq(&self, other: &DmaChannel) -> bool
fn eq(&self, other: &DmaChannel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DmaChannel
impl StructuralEq for DmaChannel
impl StructuralPartialEq for DmaChannel
Auto Trait Implementations§
impl RefUnwindSafe for DmaChannel
impl Send for DmaChannel
impl Sync for DmaChannel
impl Unpin for DmaChannel
impl UnwindSafe for DmaChannel
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