Enum miden_core::DebugOptions
source · pub enum DebugOptions {
StackAll,
StackTop(u16),
}
Expand description
Options of the Debug
decorator.
These options define the debug info which gets printed out when the Debug decorator is executed.
Variants§
StackAll
Print out the entire contents of the stack for the current execution context.
StackTop(u16)
Prints out the top n items of the stack for the current context.
Trait Implementations§
source§impl Clone for DebugOptions
impl Clone for DebugOptions
source§fn clone(&self) -> DebugOptions
fn clone(&self) -> DebugOptions
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 DebugOptions
impl Debug for DebugOptions
source§impl Display for DebugOptions
impl Display for DebugOptions
source§impl PartialEq for DebugOptions
impl PartialEq for DebugOptions
source§fn eq(&self, other: &DebugOptions) -> bool
fn eq(&self, other: &DebugOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DebugOptions
impl Eq for DebugOptions
impl StructuralEq for DebugOptions
impl StructuralPartialEq for DebugOptions
Auto Trait Implementations§
impl RefUnwindSafe for DebugOptions
impl Send for DebugOptions
impl Sync for DebugOptions
impl Unpin for DebugOptions
impl UnwindSafe for DebugOptions
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