Struct nvim_gtk::popup_menu::State
source · [−]struct State {
nvim: Option<Rc<NeovimClient>>,
renderer: CellRendererText,
tree: TreeView,
scroll: ScrolledWindow,
css_provider: CssProvider,
info_label: Label,
word_column: TreeViewColumn,
kind_column: TreeViewColumn,
menu_column: TreeViewColumn,
preview: bool,
}Fields
nvim: Option<Rc<NeovimClient>>renderer: CellRendererTexttree: TreeViewscroll: ScrolledWindowcss_provider: CssProviderinfo_label: Labelword_column: TreeViewColumnkind_column: TreeViewColumnpreview: boolImplementations
sourceimpl State
impl State
pub fn new() -> Self
fn before_show(&mut self, ctx: PopupMenuContext<'_>)
fn limit_column_widths(&self, ctx: &PopupMenuContext<'_>)
fn update_tree(&self, ctx: &PopupMenuContext<'_>)
fn select(&self, selected: i64)
fn show_info_column(&self, selected_path: &TreePath)
fn set_preview(&mut self, preview: bool)
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more