pub enum PrivateMode {
DECCKM = 1,
DECCOLM = 3,
DECSCNM = 5,
DECOM = 6,
DECAWM = 7,
DECARM = 8,
X10MR1 = 9,
DECTECM = 25,
X11MR2 = 1_000,
}
Variants§
DECCKM = 1
Cursor keys ESC 0 prefix instead of ESC [
DECCOLM = 3
80/132 col mode switch
DECSCNM = 5
Set reverse video mode
DECOM = 6
Set cursor addressing relative to upper left corner of scrolling region
DECAWM = 7
Set autowrap on
DECARM = 8
Set keyboard autorepeat on
X10MR1 = 9
X10 Mouse reporting mode 1 or reset to 0
DECTECM = 25
Make cursor visible
X11MR2 = 1_000
X11 Mouse reporting mode 2 or reset to 0
Trait Implementations§
Source§impl Clone for PrivateMode
impl Clone for PrivateMode
Source§fn clone(&self) -> PrivateMode
fn clone(&self) -> PrivateMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PrivateMode
impl Debug for PrivateMode
Source§impl From<PrivateMode> for u16
impl From<PrivateMode> for u16
Source§fn from(pm: PrivateMode) -> Self
fn from(pm: PrivateMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PrivateMode
impl PartialEq for PrivateMode
impl Copy for PrivateMode
impl Eq for PrivateMode
impl StructuralPartialEq for PrivateMode
Auto Trait Implementations§
impl Freeze for PrivateMode
impl RefUnwindSafe for PrivateMode
impl Send for PrivateMode
impl Sync for PrivateMode
impl Unpin for PrivateMode
impl UnwindSafe for PrivateMode
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