pub struct Sender<'d, A: UsbHostAllocator<'d>> { /* private fields */ }Expand description
USB-MIDI host-to-device packet sender.
Implementations§
Source§impl<'d, A: UsbHostAllocator<'d>> Sender<'d, A>
impl<'d, A: UsbHostAllocator<'d>> Sender<'d, A>
Sourcepub fn ports(&self) -> &[MidiOutputPort]
pub fn ports(&self) -> &[MidiOutputPort]
Logical ports that can receive MIDI from the host.
Auto Trait Implementations§
impl<'d, A> Freeze for Sender<'d, A>
impl<'d, A> RefUnwindSafe for Sender<'d, A>
impl<'d, A> Send for Sender<'d, A>
impl<'d, A> Sync for Sender<'d, A>
impl<'d, A> Unpin for Sender<'d, A>
impl<'d, A> UnsafeUnpin for Sender<'d, A>
impl<'d, A> UnwindSafe for Sender<'d, A>
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