pub trait Call<L>: AsRef<Object<L>>where
L: AsLua,{
// Provided methods
fn call<'lua, R>(&'lua self) -> Result<R, LuaError>
where L: 'lua,
R: LuaRead<PushGuard<&'lua L>> { ... }
fn call_with<'lua, A, R>(
&'lua self,
args: A
) -> Result<R, CallError<A::Err>>
where L: 'lua,
A: PushInto<LuaState>,
R: LuaRead<PushGuard<&'lua L>> { ... }
fn into_call<R>(self) -> Result<R, LuaError>
where Self: AsLua + Sized,
R: LuaRead<PushGuard<Self>> { ... }
fn into_call_with<A, R>(self, args: A) -> Result<R, CallError<A::Err>>
where Self: AsLua + Sized,
A: PushInto<LuaState>,
R: LuaRead<PushGuard<Self>> { ... }
}
Provided Methods§
fn call<'lua, R>(&'lua self) -> Result<R, LuaError>
fn call_with<'lua, A, R>(&'lua self, args: A) -> Result<R, CallError<A::Err>>
fn into_call<R>(self) -> Result<R, LuaError>
fn into_call_with<A, R>(self, args: A) -> Result<R, CallError<A::Err>>
Object Safety§
This trait is not object safe.