pub struct Performer<'a, H: Handler + TermInfo, W: Write> { /* private fields */ }
Expand description
Helper type that implements vte::Perform
.
Processor creates a Performer when running advance and passes the Performer
to vte::Parser
.
Implementations§
Trait Implementations§
Source§impl<'a, H, W> Perform for Performer<'a, H, W>
impl<'a, H, W> Perform for Performer<'a, H, W>
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, H, W> Freeze for Performer<'a, H, W>
impl<'a, H, W> RefUnwindSafe for Performer<'a, H, W>where
H: RefUnwindSafe,
W: RefUnwindSafe,
impl<'a, H, W> Send for Performer<'a, H, W>
impl<'a, H, W> Sync for Performer<'a, H, W>
impl<'a, H, W> Unpin for Performer<'a, H, W>
impl<'a, H, W> !UnwindSafe for Performer<'a, H, W>
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