Struct neovim_lib::neovim_api::Window [−][src]
pub struct Window { /* fields omitted */ }Methods
impl Window[src]
impl Windowpub fn new(code_data: Value) -> Window[src]
pub fn new(code_data: Value) -> Windowpub fn get_value(&self) -> &Value[src]
pub fn get_value(&self) -> &ValueInternal value, that represent type
pub fn get_buf(&self, neovim: &mut Neovim) -> Result<Buffer, CallError>[src]
pub fn get_buf(&self, neovim: &mut Neovim) -> Result<Buffer, CallError>since: 1
pub fn get_cursor(&self, neovim: &mut Neovim) -> Result<(u64, u64), CallError>[src]
pub fn get_cursor(&self, neovim: &mut Neovim) -> Result<(u64, u64), CallError>since: 1
pub fn set_cursor(
&self,
neovim: &mut Neovim,
pos: (u64, u64)
) -> Result<(), CallError>[src]
pub fn set_cursor(
&self,
neovim: &mut Neovim,
pos: (u64, u64)
) -> Result<(), CallError>since: 1
pub fn get_height(&self, neovim: &mut Neovim) -> Result<u64, CallError>[src]
pub fn get_height(&self, neovim: &mut Neovim) -> Result<u64, CallError>since: 1
pub fn set_height(
&self,
neovim: &mut Neovim,
height: u64
) -> Result<(), CallError>[src]
pub fn set_height(
&self,
neovim: &mut Neovim,
height: u64
) -> Result<(), CallError>since: 1
pub fn get_width(&self, neovim: &mut Neovim) -> Result<u64, CallError>[src]
pub fn get_width(&self, neovim: &mut Neovim) -> Result<u64, CallError>since: 1
pub fn set_width(
&self,
neovim: &mut Neovim,
width: u64
) -> Result<(), CallError>[src]
pub fn set_width(
&self,
neovim: &mut Neovim,
width: u64
) -> Result<(), CallError>since: 1
pub fn get_var(
&self,
neovim: &mut Neovim,
name: &str
) -> Result<Value, CallError>[src]
pub fn get_var(
&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]
pub fn set_var(
&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]
pub fn del_var(&self, neovim: &mut Neovim, name: &str) -> Result<(), CallError>since: 1
pub fn get_option(
&self,
neovim: &mut Neovim,
name: &str
) -> Result<Value, CallError>[src]
pub fn get_option(
&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]
pub fn set_option(
&self,
neovim: &mut Neovim,
name: &str,
value: Value
) -> Result<(), CallError>since: 1
pub fn get_position(&self, neovim: &mut Neovim) -> Result<(u64, u64), CallError>[src]
pub fn get_position(&self, neovim: &mut Neovim) -> Result<(u64, u64), CallError>since: 1
pub fn get_tabpage(&self, neovim: &mut Neovim) -> Result<Tabpage, CallError>[src]
pub fn get_tabpage(&self, neovim: &mut Neovim) -> Result<Tabpage, CallError>since: 1
pub fn get_number(&self, neovim: &mut Neovim) -> Result<u64, CallError>[src]
pub fn get_number(&self, neovim: &mut Neovim) -> Result<u64, CallError>since: 1
pub fn is_valid(&self, neovim: &mut Neovim) -> Result<bool, CallError>[src]
pub fn is_valid(&self, neovim: &mut Neovim) -> Result<bool, CallError>since: 1
Trait Implementations
impl PartialEq for Window[src]
impl PartialEq for Windowfn eq(&self, other: &Window) -> bool[src]
fn eq(&self, other: &Window) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Window) -> bool[src]
fn ne(&self, other: &Window) -> boolThis method tests for !=.
impl Clone for Window[src]
impl Clone for Windowfn clone(&self) -> Window[src]
fn clone(&self) -> WindowReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Window[src]
impl Debug for Window