[][src]Enum vtparse::VTAction

pub enum VTAction {
    Print(char),
    ExecuteC0orC1(u8),
    DcsHook {
        params: Vec<i64>,
        intermediates: Vec<u8>,
        ignored_excess_intermediates: bool,
    },
    DcsPut(u8),
    DcsUnhook,
    EscDispatch {
        params: Vec<i64>,
        intermediates: Vec<u8>,
        ignored_excess_intermediates: bool,
        byte: u8,
    },
    CsiDispatch {
        params: Vec<i64>,
        intermediates: Vec<u8>,
        ignored_excess_intermediates: bool,
        byte: u8,
    },
    OscDispatch(Vec<Vec<u8>>),
}

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

Fields of DcsHook

params: Vec<i64>intermediates: Vec<u8>ignored_excess_intermediates: bool
DcsPut(u8)
DcsUnhook
EscDispatch

Fields of EscDispatch

params: Vec<i64>intermediates: Vec<u8>ignored_excess_intermediates: boolbyte: u8
CsiDispatch

Fields of CsiDispatch

params: Vec<i64>intermediates: Vec<u8>ignored_excess_intermediates: boolbyte: u8
OscDispatch(Vec<Vec<u8>>)

Trait Implementations

impl Clone for VTAction[src]

impl Debug for VTAction[src]

impl Eq for VTAction[src]

impl PartialEq<VTAction> for VTAction[src]

impl StructuralEq for VTAction[src]

impl StructuralPartialEq for VTAction[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.