[−][src]Struct embedded_midi::MidiOut
Implementations
impl<TX, E> MidiOut<TX> where
TX: Write<u8, Error = E>,
E: Debug,
[src]
TX: Write<u8, Error = E>,
E: Debug,
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,
TX: Send,
impl<TX> Sync for MidiOut<TX> where
TX: Sync,
TX: Sync,
impl<TX> Unpin for MidiOut<TX> where
TX: Unpin,
TX: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
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]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,