[][src]Struct nvim_rs::exttypes::tabpage::Tabpage

pub struct Tabpage<W> where
    W: AsyncWrite + Send + Sync + Unpin + 'static, 
{ /* fields omitted */ }

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]

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]

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]

since: 1

pub async fn set_var<'_, '_>(
    &'_ self,
    name: &'_ str,
    value: Value
) -> Result<(), Box<CallError>>
[src]

since: 1

pub async fn del_var<'_, '_>(
    &'_ self,
    name: &'_ str
) -> Result<(), Box<CallError>>
[src]

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]

impl<'_, W> IntoVal<Value> for &'_ Tabpage<W> where
    W: AsyncWrite + Send + Sync + Unpin + 'static, 
[src]

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]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.