Struct rlua::LuaThread
[−]
[src]
pub struct LuaThread<'lua>(_);
Handle to an an internal lua coroutine
Methods
impl<'lua> LuaThread<'lua>
[src]
fn resume<A: ToLuaMulti<'lua>, R: FromLuaMulti<'lua>>(
&self,
args: A
) -> LuaResult<Option<R>>
&self,
args: A
) -> LuaResult<Option<R>>
If this thread has yielded a value, will return Some, otherwise the thread is finished and this will return None.
fn status(&self) -> LuaResult<LuaThreadStatus>
Trait Implementations
impl<'lua> Clone for LuaThread<'lua>
[src]
fn clone(&self) -> LuaThread<'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