pub struct LuaOpenResult {
pub module: String,
pub trace: Vec<LuaApiCall>,
pub returns: Vec<LuaValue>,
pub state: Option<Rc<RefCell<Box<lua_State>>>>,
}Expand description
Result of running a luaopen_* entrypoint through the compat shim.
Fields§
§module: String§trace: Vec<LuaApiCall>§returns: Vec<LuaValue>§state: Option<Rc<RefCell<Box<lua_State>>>>Trait Implementations§
Source§impl Clone for LuaOpenResult
impl Clone for LuaOpenResult
Source§fn clone(&self) -> LuaOpenResult
fn clone(&self) -> LuaOpenResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LuaOpenResult
impl !RefUnwindSafe for LuaOpenResult
impl !Send for LuaOpenResult
impl !Sync for LuaOpenResult
impl Unpin for LuaOpenResult
impl !UnwindSafe for LuaOpenResult
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