Struct nvim_gtk::nvim::client::NeovimClient[][src]

pub struct NeovimClient {
    state: Cell<NeovimClientState>,
    nvim: RefCell<Option<Neovim>>,
    nvim_async: NeovimClientAsync,
}

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]

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.