pub enum InputMode {
Cooked,
Character,
RawCooked,
RawCharacter,
}
Expand description
The various input modes that you can set for the terminal.
Variants§
Cooked
Line buffering (special character processing)
Character
Characters visible immediately (special character processing)
RawCooked
Line buffering (no special processing)
RawCharacter
Characters visible immediately (no special processing)
Trait Implementations§
Source§impl Ord for InputMode
impl Ord for InputMode
Source§impl PartialOrd for InputMode
impl PartialOrd for InputMode
impl Copy for InputMode
impl Eq for InputMode
impl StructuralPartialEq for InputMode
Auto Trait Implementations§
impl Freeze for InputMode
impl RefUnwindSafe for InputMode
impl Send for InputMode
impl Sync for InputMode
impl Unpin for InputMode
impl UnwindSafe for InputMode
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