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
sourceimpl Ui
impl Ui
pub fn new(options: ShellOptions, open_paths: Box<[String]>) -> Ui
pub fn init(&mut self, app: &Application, restore_win_state: bool)
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
)
fn nvim_command(
shell: &mut State,
command: NvimCommand,
sidebar_action: &UiMutex<SimpleAction>,
projects: &Arc<UiMutex<Projects>>,
comps: &UiMutex<Components>
)
fn create_header_bar(&self, app: &Application) -> SubscriptionHandle
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
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