pub struct StyledLine {
pub line_str: String,
cell_to_byte: Box<[usize]>,
pub attr_list: AttrList,
}Fields
line_str: Stringcell_to_byte: Box<[usize]>attr_list: AttrListImplementations
sourceimpl StyledLine
impl StyledLine
pub fn from(line: &Line, hl: &HighlightMap, font_features: &FontFeatures) -> Self
Auto Trait Implementations
impl RefUnwindSafe for StyledLine
impl !Send for StyledLine
impl !Sync for StyledLine
impl Unpin for StyledLine
impl UnwindSafe for StyledLine
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more