pub struct EventParser { /* private fields */ }Expand description
Parses raw bytes from stdin into events.
Terminal input arrives as a stream of bytes. Escape sequences can be
multi-byte (e.g., \x1b[A for Up arrow, \x1b[1;5C for Ctrl+Right).
The parser accumulates bytes until a complete sequence is recognized.
Implementations§
Source§impl EventParser
impl EventParser
Trait Implementations§
Source§impl Default for EventParser
impl Default for EventParser
Source§fn default() -> EventParser
fn default() -> EventParser
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EventParser
impl RefUnwindSafe for EventParser
impl Send for EventParser
impl Sync for EventParser
impl Unpin for EventParser
impl UnsafeUnpin for EventParser
impl UnwindSafe for EventParser
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