Struct nvim_gtk::ui::Ui [−][src]
Fields
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>>
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]
shell: &State,
plug_manager: &UiMutex<Manager>,
file_browser: &UiMutex<FileBrowserWidget>,
files_list: &Box<[String]>,
update_title: &SubscriptionHandle,
update_subtitle: &Option<SubscriptionHandle>,
update_completeopt: &SubscriptionHandle
)
fn nvim_command(
shell: &mut State,
command: NvimCommand,
sidebar_action: &UiMutex<SimpleAction>,
projects: &Arc<UiMutex<Projects>>,
comps: &UiMutex<Components>
)
[src]
shell: &mut State,
command: NvimCommand,
sidebar_action: &UiMutex<SimpleAction>,
projects: &Arc<UiMutex<Projects>>,
comps: &UiMutex<Components>
)
fn create_header_bar(&self, app: &Application) -> SubscriptionHandle
[src]
fn create_primary_menu_btn(
&self,
app: &Application,
window: &ApplicationWindow
) -> MenuButton
[src]
&self,
app: &Application,
window: &ApplicationWindow
) -> MenuButton
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,