Derive Macro mlua::FromLua

source ·
#[derive(FromLua)]
Available on crate feature macros only.
Expand description

Derive FromLua for a Rust type.

Current implementation generate code that takes UserData value, borrow it (of the Rust type) and clone.