Struct nvim_gtk::cmd_line::State[][src]

struct State {
    nvim: Option<Rc<NeovimClient>>,
    levels: Vec<Level>,
    block: Option<Level>,
    render_state: Rc<RefCell<RenderState>>,
    drawing_area: DrawingArea,
    cursor: Option<BlinkCursor<State>>,
}

Fields

nvim: Option<Rc<NeovimClient>>levels: Vec<Level>block: Option<Level>render_state: Rc<RefCell<RenderState>>drawing_area: DrawingAreacursor: Option<BlinkCursor<State>>

Implementations

impl State[src]

fn new(
    drawing_area: DrawingArea,
    render_state: Rc<RefCell<RenderState>>
) -> Self
[src]

fn request_area_size(&self)[src]

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

fn set_cursor(&mut self, render_state: &RenderState, pos: usize, level: usize)[src]

fn queue_redraw_cursor(&mut self)[src]

Trait Implementations

impl CursorRedrawCb for State[src]

Auto Trait Implementations

impl !RefUnwindSafe for State

impl !Send for State

impl !Sync for State

impl Unpin for State

impl !UnwindSafe for State

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.