Struct neovim_lib::neovim_api::Window
source · [−]pub struct Window { /* private fields */ }Implementations
sourceimpl Window
impl Window
pub fn new(code_data: Value) -> Window
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_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 RefUnwindSafe for Window
impl Send for Window
impl Sync for Window
impl Unpin for Window
impl UnwindSafe for Window
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more