Struct nvim_gtk::grid::Grid[][src]

pub struct Grid {
    model: UiModel,
}

Fields

model: UiModel

Implementations

impl Grid[src]

pub fn new() -> Self[src]

pub fn get_cursor(&self) -> (usize, usize)[src]

pub fn cur_point(&self) -> ModelRect[src]

pub fn resize(&mut self, columns: u64, rows: u64)[src]

pub fn cursor_goto(&mut self, row: usize, col: usize) -> ModelRectVec[src]

pub fn clear(&mut self, default_hl: &Rc<Highlight>)[src]

pub fn line(
    &mut self,
    row: usize,
    col_start: usize,
    cells: Vec<Vec<Value>>,
    highlights: &HighlightMap
) -> ModelRect
[src]

pub fn scroll(
    &mut self,
    top: u64,
    bot: u64,
    left: u64,
    right: u64,
    rows: i64,
    _: i64,
    default_hl: &Rc<Highlight>
) -> ModelRect
[src]

Auto Trait Implementations

impl !RefUnwindSafe for Grid

impl !Send for Grid

impl !Sync for Grid

impl Unpin for Grid

impl UnwindSafe for Grid

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.