Struct neovim_lib::neovim_api::Window [−][src]
Implementations
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 Clone for Window
[src]
impl Debug for Window
[src]
impl PartialEq<Window> for Window
[src]
impl StructuralPartialEq for Window
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,