pub struct Input<'a>(/* private fields */);
Expand description
Struct for receiving input events from a sequencer. The methods offered by this
object may modify the internal input buffer of the sequencer, which must not happen
while an Event
is alive that has been obtained from a call to event_input
(which
takes Input
by mutable reference for this reason). This is because the event might
directly reference the sequencer’s input buffer for variable-length messages (e.g. Sysex).
Note: Only one Input
object is allowed in scope at a time.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Input<'a>
impl<'a> !Send for Input<'a>
impl<'a> !Sync for Input<'a>
impl<'a> Unpin for Input<'a>
impl<'a> !UnwindSafe for Input<'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