pub trait CheatcodeInspectorStrategyContext:
Debug
+ Send
+ Sync
+ Any {
// Required methods
fn new_cloned(&self) -> Box<dyn CheatcodeInspectorStrategyContext>;
fn as_any_ref(&self) -> &dyn Any;
fn as_any_mut(&mut self) -> &mut dyn Any;
}Expand description
Context for CheatcodeInspectorStrategy.
Required Methods§
Sourcefn new_cloned(&self) -> Box<dyn CheatcodeInspectorStrategyContext>
fn new_cloned(&self) -> Box<dyn CheatcodeInspectorStrategyContext>
Clone the strategy context.
Sourcefn as_any_ref(&self) -> &dyn Any
fn as_any_ref(&self) -> &dyn Any
Alias as immutable reference of Any.
Sourcefn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
Alias as mutable reference of Any.
Trait Implementations§
Implementations on Foreign Types§
Source§impl CheatcodeInspectorStrategyContext for ()
Default strategy context object.
impl CheatcodeInspectorStrategyContext for ()
Default strategy context object.