pub struct TLineBuilder { /* private fields */ }Expand description
A builder consuming a string assumed to contain TTY sequences and building a TLine.
Implementations§
Trait Implementations§
Source§impl Debug for TLineBuilder
impl Debug for TLineBuilder
Source§impl Default for TLineBuilder
impl Default for TLineBuilder
Source§fn default() -> TLineBuilder
fn default() -> TLineBuilder
Returns the “default value” for a type. Read more
Source§impl Perform for TLineBuilder
impl Perform for TLineBuilder
Source§fn csi_dispatch(
&mut self,
params: &Params,
_intermediates: &[u8],
_ignore: bool,
action: char,
)
fn csi_dispatch( &mut self, params: &Params, _intermediates: &[u8], _ignore: bool, action: char, )
A final character has arrived for a CSI sequence Read more
Source§fn hook(
&mut self,
_params: &Params,
_intermediates: &[u8],
_ignore: bool,
_action: char,
)
fn hook( &mut self, _params: &Params, _intermediates: &[u8], _ignore: bool, _action: char, )
Invoked when a final character arrives in first part of device control
string. Read more
Source§fn put(&mut self, _byte: u8)
fn put(&mut self, _byte: u8)
Pass bytes as part of a device control string to the handle chosen in
hook. C0 controls will also be passed to the handler.Source§fn osc_dispatch(&mut self, _params: &[&[u8]], _bell_terminated: bool)
fn osc_dispatch(&mut self, _params: &[&[u8]], _bell_terminated: bool)
Dispatch an operating system command.
Source§fn esc_dispatch(&mut self, _intermediates: &[u8], _ignore: bool, _byte: u8)
fn esc_dispatch(&mut self, _intermediates: &[u8], _ignore: bool, _byte: u8)
The final character of an escape sequence has arrived. Read more
Source§fn terminated(&self) -> bool
fn terminated(&self) -> bool
Whether the parser should terminate prematurely. Read more
Auto Trait Implementations§
impl Freeze for TLineBuilder
impl RefUnwindSafe for TLineBuilder
impl Send for TLineBuilder
impl Sync for TLineBuilder
impl Unpin for TLineBuilder
impl UnwindSafe for TLineBuilder
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