pub struct Window<W>{ /* private fields */ }
Expand description
A struct representing a neovim window. It is specific to a
Neovim
instance, and calling a method on it will
always use this instance.
Implementations§
Source§impl<W> Window<W>
impl<W> Window<W>
pub fn new(code_data: Value, neovim: Neovim<W>) -> Window<W>
Sourcepub async fn set_option(
&self,
name: &str,
value: Value,
) -> Result<(), Box<CallError>>
pub async fn set_option( &self, name: &str, value: Value, ) -> Result<(), Box<CallError>>
since: 1
Sourcepub async fn set_config(
&self,
config: Vec<(Value, Value)>,
) -> Result<(), Box<CallError>>
pub async fn set_config( &self, config: Vec<(Value, Value)>, ) -> Result<(), Box<CallError>>
since: 6
Trait Implementations§
impl<W> Eq for Window<W>
Auto Trait Implementations§
impl<W> Freeze for Window<W>
impl<W> !RefUnwindSafe for Window<W>
impl<W> Send for Window<W>
impl<W> Sync for Window<W>
impl<W> Unpin for Window<W>
impl<W> !UnwindSafe for Window<W>
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