pub struct InputDecoder { /* private fields */ }Expand description
Terminal input decoder with escape sequence state machine. Converts raw terminal chars to logical input events without managing buffers or I/O.
Implementations§
Source§impl InputDecoder
impl InputDecoder
Sourcepub fn decode_char(&mut self, c: char) -> InputEvent
pub fn decode_char(&mut self, c: char) -> InputEvent
Decode single character into input event (returns None for incomplete sequences).
Trait Implementations§
Source§impl Debug for InputDecoder
impl Debug for InputDecoder
Auto Trait Implementations§
impl Freeze for InputDecoder
impl RefUnwindSafe for InputDecoder
impl Send for InputDecoder
impl Sync for InputDecoder
impl Unpin for InputDecoder
impl UnwindSafe for InputDecoder
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