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

struct PangoItemPosition<'a> {
    item: &'a Item,
    start_cell: usize,
    end_cell: usize,
}

Fields

item: &'a Itemstart_cell: usizeend_cell: usize

Implementations

impl<'a> PangoItemPosition<'a>[src]

pub fn new(styled_line: &StyledLine, item: &'a Item) -> Self[src]

fn cells_count(&self) -> i32[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for PangoItemPosition<'a>

impl<'a> !Send for PangoItemPosition<'a>

impl<'a> !Sync for PangoItemPosition<'a>

impl<'a> Unpin for PangoItemPosition<'a>

impl<'a> UnwindSafe for PangoItemPosition<'a>

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.