Struct nvim_gtk::ui_model::line::StyledLine[][src]

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: AttrList

Implementations

impl StyledLine[src]

pub fn from(
    line: &Line,
    hl: &HighlightMap,
    font_features: &FontFeatures
) -> Self
[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.