pub struct CleanLine {
pub text: String,
pub spans: Vec<StyledSpan>,
}Expand description
One line with every escape sequence removed, plus the spans that describe what colour the surviving bytes were.
Fields§
§text: String§spans: Vec<StyledSpan>Trait Implementations§
impl Eq for CleanLine
impl StructuralPartialEq for CleanLine
Auto Trait Implementations§
impl Freeze for CleanLine
impl RefUnwindSafe for CleanLine
impl Send for CleanLine
impl Sync for CleanLine
impl Unpin for CleanLine
impl UnsafeUnpin for CleanLine
impl UnwindSafe for CleanLine
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.