[−][src]Struct neovim_lib::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 fn get_buf(&self, neovim: &mut Neovim) -> Result<Buffer, CallError>
[src]
since: 1
pub fn set_buf(
&self,
neovim: &mut Neovim,
buffer: &Buffer
) -> Result<(), CallError>
[src]
&self,
neovim: &mut Neovim,
buffer: &Buffer
) -> Result<(), CallError>
since: 5
pub fn get_cursor(&self, neovim: &mut Neovim) -> Result<(i64, i64), CallError>
[src]
since: 1
pub fn set_cursor(
&self,
neovim: &mut Neovim,
pos: (i64, i64)
) -> Result<(), CallError>
[src]
&self,
neovim: &mut Neovim,
pos: (i64, i64)
) -> Result<(), CallError>
since: 1
pub fn get_height(&self, neovim: &mut Neovim) -> Result<i64, CallError>
[src]
since: 1
pub fn set_height(
&self,
neovim: &mut Neovim,
height: i64
) -> Result<(), CallError>
[src]
&self,
neovim: &mut Neovim,
height: i64
) -> Result<(), CallError>
since: 1
pub fn get_width(&self, neovim: &mut Neovim) -> Result<i64, CallError>
[src]
since: 1
pub fn set_width(
&self,
neovim: &mut Neovim,
width: i64
) -> Result<(), CallError>
[src]
&self,
neovim: &mut Neovim,
width: i64
) -> Result<(), CallError>
since: 1
pub fn get_var(
&self,
neovim: &mut Neovim,
name: &str
) -> Result<Value, CallError>
[src]
&self,
neovim: &mut Neovim,
name: &str
) -> Result<Value, CallError>
since: 1
pub fn set_var(
&self,
neovim: &mut Neovim,
name: &str,
value: Value
) -> Result<(), CallError>
[src]
&self,
neovim: &mut Neovim,
name: &str,
value: Value
) -> Result<(), CallError>
since: 1
pub fn del_var(&self, neovim: &mut Neovim, name: &str) -> Result<(), CallError>
[src]
since: 1
pub fn get_option(
&self,
neovim: &mut Neovim,
name: &str
) -> Result<Value, CallError>
[src]
&self,
neovim: &mut Neovim,
name: &str
) -> Result<Value, CallError>
since: 1
pub fn set_option(
&self,
neovim: &mut Neovim,
name: &str,
value: Value
) -> Result<(), CallError>
[src]
&self,
neovim: &mut Neovim,
name: &str,
value: Value
) -> Result<(), CallError>
since: 1
pub fn get_position(&self, neovim: &mut Neovim) -> Result<(i64, i64), CallError>
[src]
since: 1
pub fn get_tabpage(&self, neovim: &mut Neovim) -> Result<Tabpage, CallError>
[src]
since: 1
pub fn get_number(&self, neovim: &mut Neovim) -> Result<i64, CallError>
[src]
since: 1
pub fn is_valid(&self, neovim: &mut Neovim) -> Result<bool, CallError>
[src]
since: 1
Trait Implementations
impl PartialEq<Window> for Window
[src]
impl Clone for Window
[src]
fn clone(&self) -> Window
[src]
default fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Window
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto 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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,