pub struct Performer<'a, F: FnMut(Event<'_>) + 'a> { /* private fields */ }Trait Implementations§
Source§impl<'a, F: FnMut(Event<'_>)> Perform for Performer<'a, F>
impl<'a, F: FnMut(Event<'_>)> Perform for Performer<'a, F>
Source§fn hook(&mut self, _params: &[i64], _intermediates: &[u8], _ignore: bool)
fn hook(&mut self, _params: &[i64], _intermediates: &[u8], _ignore: bool)
Invoked when a final character arrives in first part of device control string Read more
Source§fn put(&mut self, _byte: u8)
fn put(&mut self, _byte: u8)
Pass bytes as part of a device control string to the handle chosen in
hook. C0 controls
will also be passed to the handler.Source§fn osc_dispatch(&mut self, params: &[&[u8]])
fn osc_dispatch(&mut self, params: &[&[u8]])
Dispatch an operating system command
Auto Trait Implementations§
impl<'a, F> Freeze for Performer<'a, F>
impl<'a, F> RefUnwindSafe for Performer<'a, F>where
F: RefUnwindSafe,
impl<'a, F> Send for Performer<'a, F>where
F: Send,
impl<'a, F> Sync for Performer<'a, F>where
F: Sync,
impl<'a, F> Unpin for Performer<'a, F>
impl<'a, F> !UnwindSafe for Performer<'a, F>
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