[−][src]Struct nvim_rs::exttypes::tabpage::Tabpage
A struct representing a neovim tabpage. It is specific to a
Neovim
instance, and calling a method on it will
always use this instance.
Methods
impl<W> Tabpage<W> where
W: AsyncWrite + Send + Sync + Unpin + 'static,
[src]
W: AsyncWrite + Send + Sync + Unpin + 'static,
pub async fn list_wins<'_>(&'_ self) -> Result<Vec<Window<W>>, Box<CallError>>
[src]
since: 1
pub async fn get_win<'_>(&'_ self) -> Result<Window<W>, Box<CallError>>
[src]
since: 1
impl<W> Tabpage<W> where
W: AsyncWrite + Send + Sync + Unpin + 'static,
[src]
W: AsyncWrite + Send + Sync + Unpin + 'static,
pub fn new(code_data: Value, neovim: Neovim<W>) -> Tabpage<W>
[src]
pub fn get_value(&self) -> &Value
[src]
Internal value, that represent type
pub async fn get_var<'_, '_>(
&'_ self,
name: &'_ str
) -> Result<Value, Box<CallError>>
[src]
&'_ self,
name: &'_ str
) -> Result<Value, Box<CallError>>
since: 1
pub async fn set_var<'_, '_>(
&'_ self,
name: &'_ str,
value: Value
) -> Result<(), Box<CallError>>
[src]
&'_ self,
name: &'_ str,
value: Value
) -> Result<(), Box<CallError>>
since: 1
pub async fn del_var<'_, '_>(
&'_ self,
name: &'_ str
) -> Result<(), Box<CallError>>
[src]
&'_ self,
name: &'_ str
) -> Result<(), Box<CallError>>
since: 1
pub async fn get_number<'_>(&'_ self) -> Result<i64, Box<CallError>>
[src]
since: 1
pub async fn is_valid<'_>(&'_ self) -> Result<bool, Box<CallError>>
[src]
since: 1
Trait Implementations
impl<W: Clone> Clone for Tabpage<W> where
W: AsyncWrite + Send + Sync + Unpin + 'static,
[src]
W: AsyncWrite + Send + Sync + Unpin + 'static,
impl<'_, W> IntoVal<Value> for &'_ Tabpage<W> where
W: AsyncWrite + Send + Sync + Unpin + 'static,
[src]
W: AsyncWrite + Send + Sync + Unpin + 'static,
Auto Trait Implementations
impl<W> !RefUnwindSafe for Tabpage<W>
impl<W> Send for Tabpage<W>
impl<W> Sync for Tabpage<W>
impl<W> Unpin for Tabpage<W>
impl<W> !UnwindSafe for Tabpage<W>
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,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,