pub struct LuaResult {
pub return_values: Vec<LuaValue>,
pub error: Option<String>,
pub executed: bool,
pub print_output: Vec<String>,
}Expand description
Result of executing a Lua script.
Fields§
§return_values: Vec<LuaValue>§error: Option<String>§executed: bool§print_output: Vec<String>Captured output from print(...) calls.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LuaResult
impl !RefUnwindSafe for LuaResult
impl !Send for LuaResult
impl !Sync for LuaResult
impl Unpin for LuaResult
impl UnsafeUnpin for LuaResult
impl !UnwindSafe for LuaResult
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