pub trait DisplayableWithState {
// Required method
fn display(&self, state: &InterpreterState<'_>) -> String;
}Expand description
Trait for things that may be rendered as a String provided
that an InterpreterState is available.
pub trait DisplayableWithState {
// Required method
fn display(&self, state: &InterpreterState<'_>) -> String;
}Trait for things that may be rendered as a String provided
that an InterpreterState is available.