pub struct State {
Show 23 fields pub grids: GridMap, mouse_enabled: bool, nvim: Rc<NeovimClient>, cursor: Option<BlinkCursor<State>>, popup_menu: PopupMenu, cmd_line: CmdLine, settings: Rc<RefCell<Settings>>, render_state: Rc<RefCell<RenderState>>, resize_request: (i64, i64), resize_timer: Rc<Cell<Option<SourceId>>>, pub clipboard_clipboard: Clipboard, pub clipboard_primary: Clipboard, stack: Stack, pub drawing_area: DrawingArea, tabs: Tabline, im_context: IMMulticontext, error_area: ErrorArea, options: ShellOptions, transparency_settings: TransparencySettigns, detach_cb: Option<Box<RefCell<dyn FnMut() + Send + 'static>>>, nvim_started_cb: Option<Box<RefCell<dyn FnMut() + Send + 'static>>>, command_cb: Option<Box<dyn FnMut(&mut State, NvimCommand) + Send + 'static>>, subscriptions: RefCell<Subscriptions>,
}

Fields

grids: GridMapmouse_enabled: boolnvim: Rc<NeovimClient>cursor: Option<BlinkCursor<State>>popup_menu: PopupMenucmd_line: CmdLinesettings: Rc<RefCell<Settings>>render_state: Rc<RefCell<RenderState>>resize_request: (i64, i64)resize_timer: Rc<Cell<Option<SourceId>>>clipboard_clipboard: Clipboardclipboard_primary: Clipboardstack: Stackdrawing_area: DrawingAreatabs: Tablineim_context: IMMulticontexterror_area: ErrorAreaoptions: ShellOptionstransparency_settings: TransparencySettignsdetach_cb: Option<Box<RefCell<dyn FnMut() + Send + 'static>>>nvim_started_cb: Option<Box<RefCell<dyn FnMut() + Send + 'static>>>command_cb: Option<Box<dyn FnMut(&mut State, NvimCommand) + Send + 'static>>subscriptions: RefCell<Subscriptions>

Implementations

Return NeovimRef only if vim in non blocking state

Note that this call also do neovim api call get_mode

return true if transparency enabled

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.