Struct webkitten::script::LuaEngine
[−]
[src]
pub struct LuaEngine;
Trait Implementations
impl ScriptingEngine for LuaEngine
[src]
fn file_extension() -> &'static str
The file extension to use when searching for command matches for this engine Read more
fn describe(file: File) -> ScriptResult<String>
Evaluate the contents of a file withn the scripting runtime and execute the description event trigger Read more
fn execute<T, S>(
file: File,
arguments: Vec<String>,
ui: &T,
config_path: &str
) -> ScriptResult<bool> where
T: ApplicationUI<S>,
S: ScriptingEngine,
file: File,
arguments: Vec<String>,
ui: &T,
config_path: &str
) -> ScriptResult<bool> where
T: ApplicationUI<S>,
S: ScriptingEngine,
Evaluate the contents of a file within the scripting runtime and execute the event trigger for running a command directly, providing the arguments to the scope Read more
fn autocomplete<T, S>(
file: File,
arguments: Vec<String>,
prefix: &str,
ui: &T,
config_path: &str
) -> ScriptResult<Vec<String>> where
T: ApplicationUI<S>,
S: ScriptingEngine,
file: File,
arguments: Vec<String>,
prefix: &str,
ui: &T,
config_path: &str
) -> ScriptResult<Vec<String>> where
T: ApplicationUI<S>,
S: ScriptingEngine,
Evaluate the contents of a file within the scripting runtime and execute the event trigger for getting autocompletion results, providing the arguments and prefix to the scope Read more
fn on_buffer_event<T, S>(
file: File,
ui: &T,
config_path: &str,
window_index: u32,
webview_index: u32,
requested_uri: Option<&str>,
event: &BufferEvent
) -> ScriptResult<()> where
T: ApplicationUI<S>,
S: ScriptingEngine,
file: File,
ui: &T,
config_path: &str,
window_index: u32,
webview_index: u32,
requested_uri: Option<&str>,
event: &BufferEvent
) -> ScriptResult<()> where
T: ApplicationUI<S>,
S: ScriptingEngine,
Evaluate the contents of a file within the scripting runtime and execute the event trigger matching the BufferEvent, provided the window index, webview index, and requested URI to the scope. Read more