pub struct Midi2Sender<'d, A: UsbHostAllocator<'d>> { /* private fields */ }Expand description
Host-to-device half of a Midi2Host.
Implementations§
Source§impl<'d, A: UsbHostAllocator<'d>> Midi2Sender<'d, A>
impl<'d, A: UsbHostAllocator<'d>> Midi2Sender<'d, A>
Sourcepub fn new(
pipe: UmpOutputPipe<'d, A>,
groups: u16,
max_packet_size: u16,
) -> Self
pub fn new( pipe: UmpOutputPipe<'d, A>, groups: u16, max_packet_size: u16, ) -> Self
Wrap a UMP output pipe; groups is the mask of groups the host may send, where 0 skips the check.
Auto Trait Implementations§
impl<'d, A> Forget for Midi2Sender<'d, A>
impl<'d, A> Freeze for Midi2Sender<'d, A>where
UmpOutputPipe<'d, A>: Freeze,
impl<'d, A> Move for Midi2Sender<'d, A>
impl<'d, A> RefUnwindSafe for Midi2Sender<'d, A>where
UmpOutputPipe<'d, A>: RefUnwindSafe,
impl<'d, A> Send for Midi2Sender<'d, A>where
UmpOutputPipe<'d, A>: Send,
impl<'d, A> Sync for Midi2Sender<'d, A>where
UmpOutputPipe<'d, A>: Sync,
impl<'d, A> Unpin for Midi2Sender<'d, A>where
UmpOutputPipe<'d, A>: Unpin,
impl<'d, A> UnsafeUnpin for Midi2Sender<'d, A>where
UmpOutputPipe<'d, A>: UnsafeUnpin,
impl<'d, A> UnwindSafe for Midi2Sender<'d, A>where
UmpOutputPipe<'d, A>: UnwindSafe,
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