pub struct VTEscapeSignature {
pub prefix: u8,
pub private: Option<u8>,
pub intermediates: VTIntermediate,
pub final_byte: u8,
pub param_count: Range<u8>,
}Expand description
A signature for an escape sequence.
Fields§
§prefix: u8§private: Option<u8>§intermediates: VTIntermediate§final_byte: u8§param_count: Range<u8>Implementations§
Source§impl VTEscapeSignature
impl VTEscapeSignature
pub const fn csi( private: Option<u8>, param_count: Range<u8>, intermediates: VTIntermediate, final_byte: u8, ) -> Self
pub const fn ss3(intermediates: VTIntermediate, final_byte: u8) -> Self
pub const fn dcs( priv_prefix: Option<u8>, param_count: Range<u8>, intermediates: VTIntermediate, final_byte: u8, ) -> Self
pub const fn osc(intermediates: VTIntermediate, final_byte: u8) -> Self
pub fn matches(&self, entry: &VTEvent<'_>) -> bool
Auto Trait Implementations§
impl Freeze for VTEscapeSignature
impl RefUnwindSafe for VTEscapeSignature
impl Send for VTEscapeSignature
impl Sync for VTEscapeSignature
impl Unpin for VTEscapeSignature
impl UnwindSafe for VTEscapeSignature
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