pub struct AnsiRun {
pub kind: Option<&'static str>,
pub text: String,
}Expand description
EXP-1324 ansi: one run of the escape-free text with the SGR colour (a
codeToken kind) it was printed in, or none.
Fields§
§kind: Option<&'static str>§text: StringTrait Implementations§
impl Eq for AnsiRun
impl StructuralPartialEq for AnsiRun
Auto Trait Implementations§
impl Freeze for AnsiRun
impl RefUnwindSafe for AnsiRun
impl Send for AnsiRun
impl Sync for AnsiRun
impl Unpin for AnsiRun
impl UnsafeUnpin for AnsiRun
impl UnwindSafe for AnsiRun
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.