pub trait FromLua: Sized {
// Required method
fn from_lua(value: Value, lua: &Lua) -> Result<Self>;
}Expand description
Trait for types convertible from Value.
Required Methods§
Object Safety§
This trait is not object safe.
pub trait FromLua: Sized {
// Required method
fn from_lua(value: Value, lua: &Lua) -> Result<Self>;
}Trait for types convertible from Value.