pub fn from_lua_value<R>(lua: &Lua, value: Value) -> Result<R>where
R: DeserializeOwned,
Expand description
Convert from a lua value to a deserializable type, with a slightly more helpful error message in case of failure.
pub fn from_lua_value<R>(lua: &Lua, value: Value) -> Result<R>where
R: DeserializeOwned,
Convert from a lua value to a deserializable type, with a slightly more helpful error message in case of failure.