pub struct StyledLine {
pub line_str: String,
cell_to_byte: Box<[usize]>,
pub attr_list: AttrList,
}
Fields§
§line_str: String
§cell_to_byte: Box<[usize]>
§attr_list: AttrList
Implementations§
Source§impl StyledLine
impl StyledLine
pub fn from( line: &Line, hl: &HighlightMap, font_features: &FontFeatures, ) -> Self
Auto Trait Implementations§
impl Freeze for StyledLine
impl RefUnwindSafe for StyledLine
impl !Send for StyledLine
impl !Sync for StyledLine
impl Unpin for StyledLine
impl UnwindSafe for StyledLine
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