pub struct LuaStub {
pub config: LuaConfig,
pub globals: HashMap<String, LuaValue>,
pub call_count: u64,
pub last_print_output: Vec<String>,
}Expand description
Main stub holding configuration and interpreter state.
Fields§
§config: LuaConfig§globals: HashMap<String, LuaValue>§call_count: u64§last_print_output: Vec<String>Output collected from print() calls during last execution.
Auto Trait Implementations§
impl Freeze for LuaStub
impl !RefUnwindSafe for LuaStub
impl !Send for LuaStub
impl !Sync for LuaStub
impl Unpin for LuaStub
impl UnsafeUnpin for LuaStub
impl !UnwindSafe for LuaStub
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