Struct nvim_gtk::ui::Ui[][src]

pub struct Ui {
    open_paths: Box<[String]>,
    initialized: bool,
    comps: Arc<UiMutex<Components>>,
    settings: Rc<RefCell<Settings>>,
    shell: Rc<RefCell<Shell>>,
    projects: Arc<UiMutex<Projects>>,
    plug_manager: Arc<UiMutex<Manager>>,
    file_browser: Arc<UiMutex<FileBrowserWidget>>,
}

Fields

open_paths: Box<[String]>initialized: boolcomps: Arc<UiMutex<Components>>settings: Rc<RefCell<Settings>>shell: Rc<RefCell<Shell>>projects: Arc<UiMutex<Projects>>plug_manager: Arc<UiMutex<Manager>>file_browser: Arc<UiMutex<FileBrowserWidget>>

Implementations

impl Ui[src]

pub fn new(options: ShellOptions, open_paths: Box<[String]>) -> Ui[src]

pub fn init(&mut self, app: &Application, restore_win_state: bool)[src]

fn nvim_started(
    shell: &State,
    plug_manager: &UiMutex<Manager>,
    file_browser: &UiMutex<FileBrowserWidget>,
    files_list: &Box<[String]>,
    update_title: &SubscriptionHandle,
    update_subtitle: &Option<SubscriptionHandle>,
    update_completeopt: &SubscriptionHandle
)
[src]

fn nvim_command(
    shell: &mut State,
    command: NvimCommand,
    sidebar_action: &UiMutex<SimpleAction>,
    projects: &Arc<UiMutex<Projects>>,
    comps: &UiMutex<Components>
)
[src]

fn create_header_bar(&self, app: &Application) -> SubscriptionHandle[src]

fn create_primary_menu_btn(
    &self,
    app: &Application,
    window: &ApplicationWindow
) -> MenuButton
[src]

Auto Trait Implementations

impl !RefUnwindSafe for Ui

impl !Send for Ui

impl !Sync for Ui

impl Unpin for Ui

impl !UnwindSafe for Ui

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.