pub enum VTAction {
Print(char),
ExecuteC0orC1(u8),
DcsHook {
params: Vec<i64>,
intermediates: Vec<u8>,
ignored_excess_intermediates: bool,
byte: u8,
},
DcsPut(u8),
DcsUnhook,
EscDispatch {
params: Vec<i64>,
intermediates: Vec<u8>,
ignored_excess_intermediates: bool,
byte: u8,
},
CsiDispatch {
params: Vec<CsiParam>,
parameters_truncated: bool,
byte: u8,
},
OscDispatch(Vec<Vec<u8>>),
ApcDispatch(Vec<u8>),
}
Expand description
VTAction
is an alternative way to work with the parser; rather
than implementing the VTActor trait you can use CollectingVTActor
to capture the sequence of events into a Vec<VTAction>
.
Variants
Print(char)
ExecuteC0orC1(u8)
DcsHook
DcsPut(u8)
DcsUnhook
EscDispatch
CsiDispatch
OscDispatch(Vec<Vec<u8>>)
ApcDispatch(Vec<u8>)
Trait Implementations
impl Eq for VTAction
impl StructuralEq for VTAction
impl StructuralPartialEq for VTAction
Auto Trait Implementations
impl RefUnwindSafe for VTAction
impl Send for VTAction
impl Sync for VTAction
impl Unpin for VTAction
impl UnwindSafe for VTAction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more