Fields
state: Arc<UiMutex<State>>ui_state: Rc<RefCell<UiState>>widget: BoxImplementations
sourceimpl Shell
impl Shell
pub fn new(settings: Rc<RefCell<Settings>>, options: ShellOptions) -> Shell
pub fn is_nvim_initialized(&self) -> bool
pub fn init(&mut self)
pub fn set_font_desc(&self, font_name: &str)
pub fn grab_focus(&self)
pub fn open_file(&self, path: &str)
pub fn cd(&self, path: &str)
pub fn detach_ui(&mut self)
pub fn edit_paste(&self)
pub fn edit_save_all(&self)
pub fn new_tab(&self)
pub fn set_detach_cb<F>(&self, cb: Option<F>)where
F: FnMut() + Send + 'static,
pub fn set_nvim_started_cb<F>(&self, cb: Option<F>)where
F: FnMut() + Send + 'static,
pub fn set_nvim_command_cb<F>(&self, cb: Option<F>)where
F: FnMut(&mut State, NvimCommand) + Send + 'static,
pub fn set_completeopts(&self, options: &str)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Shell
impl !Send for Shell
impl !Sync for Shell
impl Unpin for Shell
impl !UnwindSafe for Shell
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