pub struct LuaThreadClose(pub LuaStatus);Expand description
Internal control-flow payload for Lua 5.5 coroutine.close() self-close.
It is caught at the coroutine resume boundary; panic hooks should suppress it
like LuaExit because it is not a Rust runtime panic.
Tuple Fields§
§0: LuaStatusTrait Implementations§
Source§impl Clone for LuaThreadClose
impl Clone for LuaThreadClose
Source§fn clone(&self) -> LuaThreadClose
fn clone(&self) -> LuaThreadClose
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LuaThreadClose
Source§impl Debug for LuaThreadClose
impl Debug for LuaThreadClose
impl Eq for LuaThreadClose
Source§impl PartialEq for LuaThreadClose
impl PartialEq for LuaThreadClose
Source§fn eq(&self, other: &LuaThreadClose) -> bool
fn eq(&self, other: &LuaThreadClose) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LuaThreadClose
Auto Trait Implementations§
impl Freeze for LuaThreadClose
impl RefUnwindSafe for LuaThreadClose
impl Send for LuaThreadClose
impl Sync for LuaThreadClose
impl Unpin for LuaThreadClose
impl UnsafeUnpin for LuaThreadClose
impl UnwindSafe for LuaThreadClose
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more