Trait mlua::ToLua

source ·
pub trait ToLua<'lua> {
    fn to_lua(self, lua: &'lua Lua) -> Result<Value<'lua>>;
}
Expand description

Trait for types convertible to Value.

Required Methods§

Performs the conversion.

Implementations on Foreign Types§

Implementors§