Struct nvim_gtk::nvim::client::NeovimClient [−][src]
Fields
state: Cell<NeovimClientState>
nvim: RefCell<Option<Neovim>>
nvim_async: NeovimClientAsync
Implementations
impl NeovimClient
[src]
pub fn new() -> Self
[src]
pub fn clear(&self)
[src]
pub fn async_to_sync(&self)
[src]
pub fn set_nvim_async(&self, nvim: Neovim) -> NeovimClientAsync
[src]
pub fn set_initialized(&self)
[src]
pub fn set_error(&self)
[src]
pub fn set_in_progress(&self)
[src]
pub fn is_initialized(&self) -> bool
[src]
pub fn is_uninitialized(&self) -> bool
[src]
pub fn is_initializing(&self) -> bool
[src]
pub fn try_nvim(&self) -> Option<NeovimRef<'_>>
[src]
In case neovimref locked in another thread this method can return None
pub fn nvim(&self) -> Option<NeovimRef<'_>>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for NeovimClient
impl Send for NeovimClient
impl !Sync for NeovimClient
impl Unpin for NeovimClient
impl !UnwindSafe for NeovimClient
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>,