pub trait ToLua<'lua> {
// Required method
fn to_lua(self, lua: Context<'lua>) -> Result<Value<'lua>>;
}
Expand description
Trait for types convertible to Value
.
pub trait ToLua<'lua> {
// Required method
fn to_lua(self, lua: Context<'lua>) -> Result<Value<'lua>>;
}
Trait for types convertible to Value
.