Struct gd32f1x0_hal::dma::Transfer[][src]

pub struct Transfer<MODE, BUFFER, PAYLOAD> where
    PAYLOAD: TransferPayload
{ /* fields omitted */ }

Implementations

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, RxDma<PAYLOAD, C0>> where
    RxDma<PAYLOAD, C0>: TransferPayload
[src]

pub fn is_done(&self) -> bool[src]

pub fn wait(self) -> (BUFFER, RxDma<PAYLOAD, C0>)[src]

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, TxDma<PAYLOAD, C0>> where
    TxDma<PAYLOAD, C0>: TransferPayload
[src]

pub fn is_done(&self) -> bool[src]

pub fn wait(self) -> (BUFFER, TxDma<PAYLOAD, C0>)[src]

impl<BUFFER, PAYLOAD> Transfer<W, BUFFER, RxDma<PAYLOAD, C0>> where
    RxDma<PAYLOAD, C0>: TransferPayload
[src]

pub fn peek<T>(&self) -> &[T] where
    BUFFER: AsRef<[T]>, 
[src]

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, RxDma<PAYLOAD, C1>> where
    RxDma<PAYLOAD, C1>: TransferPayload
[src]

pub fn is_done(&self) -> bool[src]

pub fn wait(self) -> (BUFFER, RxDma<PAYLOAD, C1>)[src]

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, TxDma<PAYLOAD, C1>> where
    TxDma<PAYLOAD, C1>: TransferPayload
[src]

pub fn is_done(&self) -> bool[src]

pub fn wait(self) -> (BUFFER, TxDma<PAYLOAD, C1>)[src]

impl<BUFFER, PAYLOAD> Transfer<W, BUFFER, RxDma<PAYLOAD, C1>> where
    RxDma<PAYLOAD, C1>: TransferPayload
[src]

pub fn peek<T>(&self) -> &[T] where
    BUFFER: AsRef<[T]>, 
[src]

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, RxDma<PAYLOAD, C2>> where
    RxDma<PAYLOAD, C2>: TransferPayload
[src]

pub fn is_done(&self) -> bool[src]

pub fn wait(self) -> (BUFFER, RxDma<PAYLOAD, C2>)[src]

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, TxDma<PAYLOAD, C2>> where
    TxDma<PAYLOAD, C2>: TransferPayload
[src]

pub fn is_done(&self) -> bool[src]

pub fn wait(self) -> (BUFFER, TxDma<PAYLOAD, C2>)[src]

impl<BUFFER, PAYLOAD> Transfer<W, BUFFER, RxDma<PAYLOAD, C2>> where
    RxDma<PAYLOAD, C2>: TransferPayload
[src]

pub fn peek<T>(&self) -> &[T] where
    BUFFER: AsRef<[T]>, 
[src]

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, RxDma<PAYLOAD, C3>> where
    RxDma<PAYLOAD, C3>: TransferPayload
[src]

pub fn is_done(&self) -> bool[src]

pub fn wait(self) -> (BUFFER, RxDma<PAYLOAD, C3>)[src]

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, TxDma<PAYLOAD, C3>> where
    TxDma<PAYLOAD, C3>: TransferPayload
[src]

pub fn is_done(&self) -> bool[src]

pub fn wait(self) -> (BUFFER, TxDma<PAYLOAD, C3>)[src]

impl<BUFFER, PAYLOAD> Transfer<W, BUFFER, RxDma<PAYLOAD, C3>> where
    RxDma<PAYLOAD, C3>: TransferPayload
[src]

pub fn peek<T>(&self) -> &[T] where
    BUFFER: AsRef<[T]>, 
[src]

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, RxDma<PAYLOAD, C4>> where
    RxDma<PAYLOAD, C4>: TransferPayload
[src]

pub fn is_done(&self) -> bool[src]

pub fn wait(self) -> (BUFFER, RxDma<PAYLOAD, C4>)[src]

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, TxDma<PAYLOAD, C4>> where
    TxDma<PAYLOAD, C4>: TransferPayload
[src]

pub fn is_done(&self) -> bool[src]

pub fn wait(self) -> (BUFFER, TxDma<PAYLOAD, C4>)[src]

impl<BUFFER, PAYLOAD> Transfer<W, BUFFER, RxDma<PAYLOAD, C4>> where
    RxDma<PAYLOAD, C4>: TransferPayload
[src]

pub fn peek<T>(&self) -> &[T] where
    BUFFER: AsRef<[T]>, 
[src]

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, RxDma<PAYLOAD, C5>> where
    RxDma<PAYLOAD, C5>: TransferPayload
[src]

pub fn is_done(&self) -> bool[src]

pub fn wait(self) -> (BUFFER, RxDma<PAYLOAD, C5>)[src]

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, TxDma<PAYLOAD, C5>> where
    TxDma<PAYLOAD, C5>: TransferPayload
[src]

pub fn is_done(&self) -> bool[src]

pub fn wait(self) -> (BUFFER, TxDma<PAYLOAD, C5>)[src]

impl<BUFFER, PAYLOAD> Transfer<W, BUFFER, RxDma<PAYLOAD, C5>> where
    RxDma<PAYLOAD, C5>: TransferPayload
[src]

pub fn peek<T>(&self) -> &[T] where
    BUFFER: AsRef<[T]>, 
[src]

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, RxDma<PAYLOAD, C6>> where
    RxDma<PAYLOAD, C6>: TransferPayload
[src]

pub fn is_done(&self) -> bool[src]

pub fn wait(self) -> (BUFFER, RxDma<PAYLOAD, C6>)[src]

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, TxDma<PAYLOAD, C6>> where
    TxDma<PAYLOAD, C6>: TransferPayload
[src]

pub fn is_done(&self) -> bool[src]

pub fn wait(self) -> (BUFFER, TxDma<PAYLOAD, C6>)[src]

impl<BUFFER, PAYLOAD> Transfer<W, BUFFER, RxDma<PAYLOAD, C6>> where
    RxDma<PAYLOAD, C6>: TransferPayload
[src]

pub fn peek<T>(&self) -> &[T] where
    BUFFER: AsRef<[T]>, 
[src]

Trait Implementations

impl<MODE, BUFFER, PAYLOAD> Drop for Transfer<MODE, BUFFER, PAYLOAD> where
    PAYLOAD: TransferPayload
[src]

fn drop(&mut self)[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<MODE, BUFFER, PAYLOAD> Send for Transfer<MODE, BUFFER, PAYLOAD> where
    BUFFER: Send,
    MODE: Send,
    PAYLOAD: Send

impl<MODE, BUFFER, PAYLOAD> Sync for Transfer<MODE, BUFFER, PAYLOAD> where
    BUFFER: Sync,
    MODE: Sync,
    PAYLOAD: Sync

impl<MODE, BUFFER, PAYLOAD> Unpin for Transfer<MODE, BUFFER, PAYLOAD> where
    BUFFER: Unpin,
    MODE: Unpin,
    PAYLOAD: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.