[][src]Struct embedded_midi::MidiOut

pub struct MidiOut<TX> { /* fields omitted */ }

Implementations

impl<TX, E> MidiOut<TX> where
    TX: Write<u8, Error = E>,
    E: Debug
[src]

pub fn new(tx: TX) -> Self[src]

pub fn release(self) -> TX[src]

pub fn write(&mut self, message: &MidiMessage) -> Result<(), E>[src]

Auto Trait Implementations

impl<TX> Send for MidiOut<TX> where
    TX: Send

impl<TX> Sync for MidiOut<TX> where
    TX: Sync

impl<TX> Unpin for MidiOut<TX> where
    TX: Unpin

Blanket Implementations

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

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

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

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

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

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.

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.