pub enum Operation {
Function(Function),
Resize {
cols: usize,
rows: usize,
},
}Expand description
One executable terminal action, observed before and after execution.
The parser produces Function values; resizes are requested
explicitly by the caller.
Variants§
Function(Function)
Resize
Changes the virtual terminal’s dimensions. Dimensions are clamped to at
least 1 before execution and observation. A window-resize request parsed
from an escape sequence (Function::Xtwinops) does not change these
dimensions.
Trait Implementations§
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnsafeUnpin for Operation
impl UnwindSafe for Operation
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