pub enum ParseStep {
Printable(u8),
StyleChanged,
OtherCsiSkipped,
HyperlinkChanged,
Consuming,
}Expand description
Single-step transition driven by one input byte.
Variants§
Printable(u8)
Byte is regular content; caller should emit it as a printable cell.
StyleChanged
SGR sequence completed; style has been updated in place.
OtherCsiSkipped
Non-SGR CSI completed; bytes consumed, no visible effect.
HyperlinkChanged
OSC 8 hyperlink open/close; hyperlink has been updated in place.
Consuming
Mid-sequence — caller should consume the byte and yield nothing yet.
Trait Implementations§
impl Eq for ParseStep
impl StructuralPartialEq for ParseStep
Auto Trait Implementations§
impl Freeze for ParseStep
impl RefUnwindSafe for ParseStep
impl Send for ParseStep
impl Sync for ParseStep
impl Unpin for ParseStep
impl UnsafeUnpin for ParseStep
impl UnwindSafe for ParseStep
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.