pub trait FromLua<'lua>: Sized {
// Required method
fn from_lua(lua_value: Value<'lua>, lua: Context<'lua>) -> Result<Self>;
}
Expand description
Trait for types convertible from Value
.
pub trait FromLua<'lua>: Sized {
// Required method
fn from_lua(lua_value: Value<'lua>, lua: Context<'lua>) -> Result<Self>;
}
Trait for types convertible from Value
.