Struct termwiz::escape::ShortDeviceControl
source · [−]pub struct ShortDeviceControl {
pub params: Vec<i64>,
pub intermediates: Vec<u8>,
pub byte: u8,
pub data: Vec<u8>,
}
Expand description
A fully parsed DCS sequence. The parser emits these for byte/intermediate sequences that are known to be relatively short and self contained (eg: DECRQSS) as opposed to larger ones like Sixel (which is parsed separately), or long lived terminal modes such as the TMUX CC protocol.
Fields
params: Vec<i64>
Integer parameter values
intermediates: Vec<u8>
Intermediate bytes to refine the control
byte: u8
The final byte
data: Vec<u8>
The data prior to the string terminator
Trait Implementations
sourceimpl Clone for ShortDeviceControl
impl Clone for ShortDeviceControl
sourcefn clone(&self) -> ShortDeviceControl
fn clone(&self) -> ShortDeviceControl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ShortDeviceControl
impl Debug for ShortDeviceControl
sourceimpl Display for ShortDeviceControl
impl Display for ShortDeviceControl
sourceimpl PartialEq<ShortDeviceControl> for ShortDeviceControl
impl PartialEq<ShortDeviceControl> for ShortDeviceControl
sourcefn eq(&self, other: &ShortDeviceControl) -> bool
fn eq(&self, other: &ShortDeviceControl) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ShortDeviceControl) -> bool
fn ne(&self, other: &ShortDeviceControl) -> bool
This method tests for !=
.
impl Eq for ShortDeviceControl
impl StructuralEq for ShortDeviceControl
impl StructuralPartialEq for ShortDeviceControl
Auto Trait Implementations
impl RefUnwindSafe for ShortDeviceControl
impl Send for ShortDeviceControl
impl Sync for ShortDeviceControl
impl Unpin for ShortDeviceControl
impl UnwindSafe for ShortDeviceControl
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