Struct rlua::LuaFunction
[−]
[src]
pub struct LuaFunction<'lua>(_);
Handle to an an internal lua function
Methods
impl<'lua> LuaFunction<'lua>
[src]
fn call<A: ToLuaMulti<'lua>, R: FromLuaMulti<'lua>>(
&self,
args: A
) -> LuaResult<R>
&self,
args: A
) -> LuaResult<R>
fn bind<A: ToLuaMulti<'lua>>(&self, args: A) -> LuaResult<LuaFunction<'lua>>
Trait Implementations
impl<'lua> Clone for LuaFunction<'lua>
[src]
fn clone(&self) -> LuaFunction<'lua>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more