Enum nvim_gtk::nvim::client::NeovimRef [−][src]
Variants
MultiThreaded(MutexGuard<'a, Option<Neovim>>)
Implementations
impl<'a> NeovimRef<'a>
[src]
fn from_nvim(nvim: RefMut<'a, Neovim>) -> Self
[src]
fn try_nvim_async(nvim_async: &'a NeovimClientAsync) -> Option<NeovimRef<'a>>
[src]
fn from_nvim_async(nvim_async: &'a NeovimClientAsync) -> Option<NeovimRef<'a>>
[src]
pub fn non_blocked(self) -> Option<Self>
[src]
Methods from Deref<Target = Neovim>
pub fn ui_attach(
&mut self,
width: i64,
height: i64,
opts: &UiAttachOptions
) -> Result<(), CallError>
[src]
&mut self,
width: i64,
height: i64,
opts: &UiAttachOptions
) -> Result<(), CallError>
Register as a remote UI.
After this method is called, the client will receive redraw notifications.
pub fn quit_no_save(&mut self) -> Result<(), CallError>
[src]
Send a quit command to Nvim. The quit command is ‘qa!’ which will make Nvim quit without saving anything.
pub fn set_option(&mut self, option: UiOption) -> Result<(), CallError>
[src]
Same as ui_set_option
but use UiOption
as argument to check type at compile time
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for NeovimRef<'a>
impl<'a> !Send for NeovimRef<'a>
impl<'a> !Sync for NeovimRef<'a>
impl<'a> Unpin for NeovimRef<'a>
impl<'a> !UnwindSafe for NeovimRef<'a>
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>,