Enum termwiz::escape::DeviceControlMode
source · [−]pub enum DeviceControlMode {
Enter(Box<EnterDeviceControlMode>),
Exit,
Data(u8),
ShortDeviceControl(Box<ShortDeviceControl>),
TmuxEvents(Box<Vec<Event>>),
}
Variants
Enter(Box<EnterDeviceControlMode>)
Identify device control mode from the encoded parameters.
This mode is activated and must remain active until
Exit
is observed. While the mode is
active, data is made available to the device mode via
the Data
variant.
Exit
Exit the current device control mode
Data(u8)
Data for the device mode to consume
ShortDeviceControl(Box<ShortDeviceControl>)
A self contained (Enter, Data*, Exit) sequence
TmuxEvents(Box<Vec<Event>>)
Tmux parsed events
Trait Implementations
sourceimpl Clone for DeviceControlMode
impl Clone for DeviceControlMode
sourcefn clone(&self) -> DeviceControlMode
fn clone(&self) -> DeviceControlMode
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 DeviceControlMode
impl Debug for DeviceControlMode
sourceimpl Display for DeviceControlMode
impl Display for DeviceControlMode
sourceimpl PartialEq<DeviceControlMode> for DeviceControlMode
impl PartialEq<DeviceControlMode> for DeviceControlMode
sourcefn eq(&self, other: &DeviceControlMode) -> bool
fn eq(&self, other: &DeviceControlMode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeviceControlMode) -> bool
fn ne(&self, other: &DeviceControlMode) -> bool
This method tests for !=
.
impl Eq for DeviceControlMode
impl StructuralEq for DeviceControlMode
impl StructuralPartialEq for DeviceControlMode
Auto Trait Implementations
impl RefUnwindSafe for DeviceControlMode
impl Send for DeviceControlMode
impl Sync for DeviceControlMode
impl Unpin for DeviceControlMode
impl UnwindSafe for DeviceControlMode
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