pub struct Window { /* private fields */ }
Implementations§
Source§impl Window
impl Window
pub fn new(code_data: Value) -> Window
Sourcepub fn set_buf(
&self,
neovim: &mut Neovim,
buffer: &Buffer,
) -> Result<(), CallError>
pub fn set_buf( &self, neovim: &mut Neovim, buffer: &Buffer, ) -> Result<(), CallError>
since: 5
Sourcepub fn set_cursor(
&self,
neovim: &mut Neovim,
pos: (i64, i64),
) -> Result<(), CallError>
pub fn set_cursor( &self, neovim: &mut Neovim, pos: (i64, i64), ) -> Result<(), CallError>
since: 1
Sourcepub fn set_height(
&self,
neovim: &mut Neovim,
height: i64,
) -> Result<(), CallError>
pub fn set_height( &self, neovim: &mut Neovim, height: i64, ) -> Result<(), CallError>
since: 1
Sourcepub fn set_var(
&self,
neovim: &mut Neovim,
name: &str,
value: Value,
) -> Result<(), CallError>
pub fn set_var( &self, neovim: &mut Neovim, name: &str, value: Value, ) -> Result<(), CallError>
since: 1
Sourcepub fn get_option(
&self,
neovim: &mut Neovim,
name: &str,
) -> Result<Value, CallError>
pub fn get_option( &self, neovim: &mut Neovim, name: &str, ) -> Result<Value, CallError>
since: 1
Trait Implementations§
impl StructuralPartialEq for Window
Auto Trait Implementations§
impl Freeze for Window
impl RefUnwindSafe for Window
impl Send for Window
impl Sync for Window
impl Unpin for Window
impl UnwindSafe for Window
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more