Enum rhai::debugger::DebuggerCommand
source · #[non_exhaustive]pub enum DebuggerCommand {
Continue,
StepInto,
StepOver,
Next,
FunctionExit,
}
Expand description
A command for the debugger on the next iteration.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Continue
Continue normal execution.
StepInto
Step into the next expression, diving into functions.
StepOver
Run to the next expression or statement, stepping over functions.
Next
Run to the next statement, skipping over functions.
FunctionExit
Run to the end of the current function call.
Trait Implementations§
source§impl Clone for DebuggerCommand
impl Clone for DebuggerCommand
source§fn clone(&self) -> DebuggerCommand
fn clone(&self) -> DebuggerCommand
Returns a copy 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 moresource§impl Debug for DebuggerCommand
impl Debug for DebuggerCommand
source§impl Default for DebuggerCommand
impl Default for DebuggerCommand
source§fn default() -> DebuggerCommand
fn default() -> DebuggerCommand
Returns the “default value” for a type. Read more
source§impl Hash for DebuggerCommand
impl Hash for DebuggerCommand
source§impl PartialEq for DebuggerCommand
impl PartialEq for DebuggerCommand
source§fn eq(&self, other: &DebuggerCommand) -> bool
fn eq(&self, other: &DebuggerCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DebuggerCommand
impl Eq for DebuggerCommand
impl StructuralPartialEq for DebuggerCommand
Auto Trait Implementations§
impl Freeze for DebuggerCommand
impl RefUnwindSafe for DebuggerCommand
impl Send for DebuggerCommand
impl Sync for DebuggerCommand
impl Unpin for DebuggerCommand
impl UnwindSafe for DebuggerCommand
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Variant for T
impl<T> Variant for T
source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert this
Variant
trait object to &mut dyn Any
.source§fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
Convert this
Variant
trait object to Box<dyn Any>
.