Trait lua::userdata::FromLuaMut [−][src]
pub trait FromLuaMut {
unsafe fn from_lua_mut(state: &mut State, idx: Index) -> Result<&mut Self>;
}Trait to read userdatums from Lua that allow mutation
Required Methods
unsafe fn from_lua_mut(state: &mut State, idx: Index) -> Result<&mut Self>
Get a mutable reference
Implementors
impl<T: UserData> FromLuaMut for T