pub trait ToLua<'lua> {
// Required method
fn to_lua(self, lua: &'lua Lua) -> Result<Value<'lua>, Error>;
}
Expand description
Trait for types convertible to Value
.
Required Methods§
Implementations on Foreign Types§
Implementors§
impl<'a> ToLua<'a> for ModuleBuilder<'a>
Available on crate feature
builder
only.impl<'a> ToLua<'a> for EvalStatuslineOpt
Available on crate features
vim
and unstable
only.