[−][src]Struct nvim_rs::neovim_api::Window
Methods
impl Window
[src]
pub fn new(code_data: Value) -> Window
[src]
pub fn get_value(&self) -> &Value
[src]
Internal value, that represent type
pub async fn get_buf<'_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<Buffer, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<Buffer, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 1
pub async fn set_buf<'_, '_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>,
buffer: &'_ Buffer
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>,
buffer: &'_ Buffer
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 5
pub async fn get_cursor<'_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<(i64, i64), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<(i64, i64), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 1
pub async fn set_cursor<'_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>,
pos: (i64, i64)
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>,
pos: (i64, i64)
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 1
pub async fn get_height<'_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<i64, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<i64, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 1
pub async fn set_height<'_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>,
height: i64
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>,
height: i64
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 1
pub async fn get_width<'_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<i64, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<i64, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 1
pub async fn set_width<'_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>,
width: i64
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>,
width: i64
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 1
pub async fn get_var<'_, '_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>,
name: &'_ str
) -> Result<Value, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>,
name: &'_ str
) -> Result<Value, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 1
pub async fn set_var<'_, '_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>,
name: &'_ str,
value: Value
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>,
name: &'_ str,
value: Value
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 1
pub async fn del_var<'_, '_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>,
name: &'_ str
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>,
name: &'_ str
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 1
pub async fn get_option<'_, '_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>,
name: &'_ str
) -> Result<Value, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>,
name: &'_ str
) -> Result<Value, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 1
pub async fn set_option<'_, '_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>,
name: &'_ str,
value: Value
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>,
name: &'_ str,
value: Value
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 1
pub async fn get_position<'_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<(i64, i64), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<(i64, i64), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 1
pub async fn get_tabpage<'_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<Tabpage, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<Tabpage, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 1
pub async fn get_number<'_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<i64, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<i64, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 1
pub async fn is_valid<'_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<bool, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<bool, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 1
pub async fn set_config<'_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>,
config: Vec<(Value, Value)>
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>,
config: Vec<(Value, Value)>
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 6
pub async fn get_config<'_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<Vec<(Value, Value)>, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>
) -> Result<Vec<(Value, Value)>, CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 6
pub async fn close<'_, '_, W>(
&'_ self,
neovim: &'_ Neovim<W>,
force: bool
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
[src]
&'_ self,
neovim: &'_ Neovim<W>,
force: bool
) -> Result<(), CallError> where
W: AsyncWrite + Send + Unpin + 'static,
since: 6
Trait Implementations
impl FromVal<Value> for Window
[src]
impl<'a> IntoVal<Value> for &'a Window
[src]
impl Clone for Window
[src]
impl PartialEq<Window> for Window
[src]
impl Debug for Window
[src]
impl StructuralPartialEq for Window
[src]
Auto Trait Implementations
impl Send for Window
impl Sync for Window
impl Unpin for Window
impl UnwindSafe for Window
impl RefUnwindSafe for Window
Blanket Implementations
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 = !
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,