pub enum Action {
Print(char),
Control(ControlCode),
DeviceControl(DeviceControlMode),
OperatingSystemCommand(Box<OperatingSystemCommand>),
CSI(CSI),
Esc(Esc),
Sixel(Box<Sixel>),
XtGetTcap(Vec<String>),
KittyImage(KittyImage),
}
Variants
Print(char)
Send a single printable character to the display
Control(ControlCode)
A C0 or C1 control code
DeviceControl(DeviceControlMode)
Device control. This is uncommon wrt. terminal emulation.
OperatingSystemCommand(Box<OperatingSystemCommand>)
A command that typically doesn’t change the contents of the terminal, but rather influences how it displays or otherwise interacts with the rest of the system
CSI(CSI)
Esc(Esc)
Sixel(Box<Sixel>)
XtGetTcap(Vec<String>)
A list of termcap, terminfo names for which the application whats information
KittyImage(KittyImage)
Trait Implementations
sourceimpl Display for Action
impl Display for Action
Encode self as an escape sequence. The escape sequence may potentially be clear text with no actual escape sequences.
impl StructuralPartialEq for Action
Auto Trait Implementations
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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