pub struct StringDispatch<'a> {
pub kind: StringKind,
pub final_byte: Option<u8>,
pub private_markers: &'a [u8],
pub params: Params<'a>,
pub intermediates: &'a [u8],
pub data: &'a [u8],
pub termination: StringTermination,
pub truncated: bool,
}Expand description
A DCS, APC, PM, or SOS sequence whose payload was dispatched.
Fields§
§kind: StringKindThe control-string family.
final_byte: Option<u8>The final byte of a DCS introducer, when one was recognized.
private_markers: &'a [u8]Private parameter marker bytes from a DCS introducer.
params: Params<'a>Parameters from a DCS introducer.
intermediates: &'a [u8]Intermediate bytes from a DCS introducer.
data: &'a [u8]The passthrough bytes after a DCS final byte, or all bytes after the introducer for APC, PM, and SOS.
termination: StringTerminationThe terminator used by the string.
truncated: boolWhether a parser limit caused the sequence or payload to be truncated.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for StringDispatch<'a>
impl<'a> Clone for StringDispatch<'a>
impl<'a> Copy for StringDispatch<'a>
Source§impl<'a> Debug for StringDispatch<'a>
impl<'a> Debug for StringDispatch<'a>
impl<'a> Eq for StringDispatch<'a>
Source§impl<'a> PartialEq for StringDispatch<'a>
impl<'a> PartialEq for StringDispatch<'a>
impl<'a> StructuralPartialEq for StringDispatch<'a>
Auto Trait Implementations§
impl<'a> Freeze for StringDispatch<'a>
impl<'a> RefUnwindSafe for StringDispatch<'a>
impl<'a> Send for StringDispatch<'a>
impl<'a> Sync for StringDispatch<'a>
impl<'a> Unpin for StringDispatch<'a>
impl<'a> UnsafeUnpin for StringDispatch<'a>
impl<'a> UnwindSafe for StringDispatch<'a>
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