Struct neovim_lib::neovim_api::Window [] [src]

pub struct Window {
    // some fields omitted
}

Methods

impl Window
[src]

fn new(code_data: Value) -> Window

fn get_buffer(&self, neovim: &mut Neovim) -> Result<BufferString>

fn get_cursor(&self, neovim: &mut Neovim) -> Result<(u64, u64)String>

fn set_cursor(&self, neovim: &mut Neovim, pos: (u64, u64)) -> Result<()String>

fn get_height(&self, neovim: &mut Neovim) -> Result<u64String>

fn set_height(&self, neovim: &mut Neovim, height: u64) -> Result<()String>

fn get_width(&self, neovim: &mut Neovim) -> Result<u64String>

fn set_width(&self, neovim: &mut Neovim, width: u64) -> Result<()String>

fn get_var(&self, neovim: &mut Neovim, name: &str) -> Result<Value, String>

fn set_var(&self, neovim: &mut Neovim, name: &str, value: Value) -> Result<Value, String>

fn get_option(&self, neovim: &mut Neovim, name: &str) -> Result<Value, String>

fn set_option(&self, neovim: &mut Neovim, name: &str, value: Value) -> Result<()String>

fn get_position(&self, neovim: &mut Neovim) -> Result<(u64, u64)String>

fn get_tabpage(&self, neovim: &mut Neovim) -> Result<TabpageString>

fn is_valid(&self, neovim: &mut Neovim) -> Result<boolString>