Enum vtparse::VTAction [−][src]
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)
Tuple Fields
0: char
ExecuteC0orC1(u8)
Tuple Fields
0: u8
DcsHook
DcsPut(u8)
Tuple Fields
0: u8
DcsUnhook
EscDispatch
CsiDispatch
OscDispatch(Vec<Vec<u8>>)
ApcDispatch(Vec<u8>)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VTAction
impl UnwindSafe for VTAction
Blanket Implementations
Mutably borrows from an owned value. Read more