Struct termwiz::input::KeyCodeEncodeModes
source · [−]pub struct KeyCodeEncodeModes {
pub encoding: KeyboardEncoding,
pub application_cursor_keys: bool,
pub newline_mode: bool,
}
Expand description
Specifies terminal modes/configuration that can influence how a KeyCode is encoded when being sent to and application via the pty.
Fields
encoding: KeyboardEncoding
application_cursor_keys: bool
newline_mode: bool
Trait Implementations
sourceimpl Clone for KeyCodeEncodeModes
impl Clone for KeyCodeEncodeModes
sourcefn clone(&self) -> KeyCodeEncodeModes
fn clone(&self) -> KeyCodeEncodeModes
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 KeyCodeEncodeModes
impl Debug for KeyCodeEncodeModes
impl Copy for KeyCodeEncodeModes
Auto Trait Implementations
impl RefUnwindSafe for KeyCodeEncodeModes
impl Send for KeyCodeEncodeModes
impl Sync for KeyCodeEncodeModes
impl Unpin for KeyCodeEncodeModes
impl UnwindSafe for KeyCodeEncodeModes
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