Trait neovim_lib::neovim_api_async::NeovimApiAsync
[−]
[src]
pub trait NeovimApiAsync {
fn ui_detach_async(&mut self) -> AsyncCall<()>;
fn ui_try_resize_async(&mut self, width: u64, height: u64) -> AsyncCall<()>;
fn ui_set_option_async(&mut self, name: &str, value: Value) -> AsyncCall<()>;
fn command_async(&mut self, command: &str) -> AsyncCall<()>;
fn get_hl_by_name_async(
&mut self,
name: &str,
rgb: bool
) -> AsyncCall<Vec<(Value, Value)>>;
fn get_hl_by_id_async(
&mut self,
hl_id: u64,
rgb: bool
) -> AsyncCall<Vec<(Value, Value)>>;
fn feedkeys_async(
&mut self,
keys: &str,
mode: &str,
escape_csi: bool
) -> AsyncCall<()>;
fn input_async(&mut self, keys: &str) -> AsyncCall<u64>;
fn replace_termcodes_async(
&mut self,
str: &str,
from_part: bool,
do_lt: bool,
special: bool
) -> AsyncCall<String>;
fn command_output_async(&mut self, str: &str) -> AsyncCall<String>;
fn eval_async(&mut self, expr: &str) -> AsyncCall<Value>;
fn call_function_async(
&mut self,
fname: &str,
args: Vec<Value>
) -> AsyncCall<Value>;
fn execute_lua_async(
&mut self,
code: &str,
args: Vec<Value>
) -> AsyncCall<Value>;
fn strwidth_async(&mut self, text: &str) -> AsyncCall<u64>;
fn list_runtime_paths_async(&mut self) -> AsyncCall<Vec<String>>;
fn set_current_dir_async(&mut self, dir: &str) -> AsyncCall<()>;
fn get_current_line_async(&mut self) -> AsyncCall<String>;
fn set_current_line_async(&mut self, line: &str) -> AsyncCall<()>;
fn del_current_line_async(&mut self) -> AsyncCall<()>;
fn get_var_async(&mut self, name: &str) -> AsyncCall<Value>;
fn set_var_async(&mut self, name: &str, value: Value) -> AsyncCall<()>;
fn del_var_async(&mut self, name: &str) -> AsyncCall<()>;
fn get_vvar_async(&mut self, name: &str) -> AsyncCall<Value>;
fn get_option_async(&mut self, name: &str) -> AsyncCall<Value>;
fn set_option_async(&mut self, name: &str, value: Value) -> AsyncCall<()>;
fn out_write_async(&mut self, str: &str) -> AsyncCall<()>;
fn err_write_async(&mut self, str: &str) -> AsyncCall<()>;
fn err_writeln_async(&mut self, str: &str) -> AsyncCall<()>;
fn list_bufs_async(&mut self) -> AsyncCall<Vec<Buffer>>;
fn get_current_buf_async(&mut self) -> AsyncCall<Buffer>;
fn set_current_buf_async(&mut self, buffer: &Buffer) -> AsyncCall<()>;
fn list_wins_async(&mut self) -> AsyncCall<Vec<Window>>;
fn get_current_win_async(&mut self) -> AsyncCall<Window>;
fn set_current_win_async(&mut self, window: &Window) -> AsyncCall<()>;
fn list_tabpages_async(&mut self) -> AsyncCall<Vec<Tabpage>>;
fn get_current_tabpage_async(&mut self) -> AsyncCall<Tabpage>;
fn set_current_tabpage_async(&mut self, tabpage: &Tabpage) -> AsyncCall<()>;
fn subscribe_async(&mut self, event: &str) -> AsyncCall<()>;
fn unsubscribe_async(&mut self, event: &str) -> AsyncCall<()>;
fn get_color_by_name_async(&mut self, name: &str) -> AsyncCall<u64>;
fn get_color_map_async(&mut self) -> AsyncCall<Vec<(Value, Value)>>;
fn get_mode_async(&mut self) -> AsyncCall<Vec<(Value, Value)>>;
fn get_keymap_async(
&mut self,
mode: &str
) -> AsyncCall<Vec<Vec<(Value, Value)>>>;
fn get_api_info_async(&mut self) -> AsyncCall<Vec<Value>>;
fn call_atomic_async(&mut self, calls: Vec<Value>) -> AsyncCall<Vec<Value>>;
}
Required Methods
fn ui_detach_async(&mut self) -> AsyncCall<()>
since: 1
fn ui_try_resize_async(&mut self, width: u64, height: u64) -> AsyncCall<()>
since: 1
fn ui_set_option_async(&mut self, name: &str, value: Value) -> AsyncCall<()>
since: 1
fn command_async(&mut self, command: &str) -> AsyncCall<()>
since: 1
fn get_hl_by_name_async(
&mut self,
name: &str,
rgb: bool
) -> AsyncCall<Vec<(Value, Value)>>
&mut self,
name: &str,
rgb: bool
) -> AsyncCall<Vec<(Value, Value)>>
since: 3
fn get_hl_by_id_async(
&mut self,
hl_id: u64,
rgb: bool
) -> AsyncCall<Vec<(Value, Value)>>
&mut self,
hl_id: u64,
rgb: bool
) -> AsyncCall<Vec<(Value, Value)>>
since: 3
fn feedkeys_async(
&mut self,
keys: &str,
mode: &str,
escape_csi: bool
) -> AsyncCall<()>
&mut self,
keys: &str,
mode: &str,
escape_csi: bool
) -> AsyncCall<()>
since: 1
fn input_async(&mut self, keys: &str) -> AsyncCall<u64>
since: 1
fn replace_termcodes_async(
&mut self,
str: &str,
from_part: bool,
do_lt: bool,
special: bool
) -> AsyncCall<String>
&mut self,
str: &str,
from_part: bool,
do_lt: bool,
special: bool
) -> AsyncCall<String>
since: 1
fn command_output_async(&mut self, str: &str) -> AsyncCall<String>
since: 1
fn eval_async(&mut self, expr: &str) -> AsyncCall<Value>
since: 1
fn call_function_async(
&mut self,
fname: &str,
args: Vec<Value>
) -> AsyncCall<Value>
&mut self,
fname: &str,
args: Vec<Value>
) -> AsyncCall<Value>
since: 1
fn execute_lua_async(
&mut self,
code: &str,
args: Vec<Value>
) -> AsyncCall<Value>
&mut self,
code: &str,
args: Vec<Value>
) -> AsyncCall<Value>
since: 3
fn strwidth_async(&mut self, text: &str) -> AsyncCall<u64>
since: 1
fn list_runtime_paths_async(&mut self) -> AsyncCall<Vec<String>>
since: 1
fn set_current_dir_async(&mut self, dir: &str) -> AsyncCall<()>
since: 1
fn get_current_line_async(&mut self) -> AsyncCall<String>
since: 1
fn set_current_line_async(&mut self, line: &str) -> AsyncCall<()>
since: 1
fn del_current_line_async(&mut self) -> AsyncCall<()>
since: 1
fn get_var_async(&mut self, name: &str) -> AsyncCall<Value>
since: 1
fn set_var_async(&mut self, name: &str, value: Value) -> AsyncCall<()>
since: 1
fn del_var_async(&mut self, name: &str) -> AsyncCall<()>
since: 1
fn get_vvar_async(&mut self, name: &str) -> AsyncCall<Value>
since: 1
fn get_option_async(&mut self, name: &str) -> AsyncCall<Value>
since: 1
fn set_option_async(&mut self, name: &str, value: Value) -> AsyncCall<()>
since: 1
fn out_write_async(&mut self, str: &str) -> AsyncCall<()>
since: 1
fn err_write_async(&mut self, str: &str) -> AsyncCall<()>
since: 1
fn err_writeln_async(&mut self, str: &str) -> AsyncCall<()>
since: 1
fn list_bufs_async(&mut self) -> AsyncCall<Vec<Buffer>>
since: 1
fn get_current_buf_async(&mut self) -> AsyncCall<Buffer>
since: 1
fn set_current_buf_async(&mut self, buffer: &Buffer) -> AsyncCall<()>
since: 1
fn list_wins_async(&mut self) -> AsyncCall<Vec<Window>>
since: 1
fn get_current_win_async(&mut self) -> AsyncCall<Window>
since: 1
fn set_current_win_async(&mut self, window: &Window) -> AsyncCall<()>
since: 1
fn list_tabpages_async(&mut self) -> AsyncCall<Vec<Tabpage>>
since: 1
fn get_current_tabpage_async(&mut self) -> AsyncCall<Tabpage>
since: 1
fn set_current_tabpage_async(&mut self, tabpage: &Tabpage) -> AsyncCall<()>
since: 1
fn subscribe_async(&mut self, event: &str) -> AsyncCall<()>
since: 1
fn unsubscribe_async(&mut self, event: &str) -> AsyncCall<()>
since: 1
fn get_color_by_name_async(&mut self, name: &str) -> AsyncCall<u64>
since: 1
fn get_color_map_async(&mut self) -> AsyncCall<Vec<(Value, Value)>>
since: 1
fn get_mode_async(&mut self) -> AsyncCall<Vec<(Value, Value)>>
since: 2
fn get_keymap_async(
&mut self,
mode: &str
) -> AsyncCall<Vec<Vec<(Value, Value)>>>
&mut self,
mode: &str
) -> AsyncCall<Vec<Vec<(Value, Value)>>>
since: 3
fn get_api_info_async(&mut self) -> AsyncCall<Vec<Value>>
since: 1
fn call_atomic_async(&mut self, calls: Vec<Value>) -> AsyncCall<Vec<Value>>
since: 1
Implementors
impl NeovimApiAsync for Neovim