pub enum ScriptDebugMode {
Yes,
Sync,
No,
}
Expand description
Options for the script_debug
command.
Variants§
Yes
Enable non-blocking asynchronous debugging of Lua scripts (changes are discarded).
Sync
Enable blocking synchronous debugging of Lua scripts (saves changes to data).
No
Disables scripts debug mode.
Trait Implementations§
Source§impl ToArgs for ScriptDebugMode
impl ToArgs for ScriptDebugMode
Source§fn write_args(&self, args: &mut CommandArgs)
fn write_args(&self, args: &mut CommandArgs)
Write this Rust type as one ore multiple args into CommandArgs. Read more
Auto Trait Implementations§
impl Freeze for ScriptDebugMode
impl RefUnwindSafe for ScriptDebugMode
impl Send for ScriptDebugMode
impl Sync for ScriptDebugMode
impl Unpin for ScriptDebugMode
impl UnwindSafe for ScriptDebugMode
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