DisplayableWithState

Trait DisplayableWithState 

Source
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.

Required Methods§

Source

fn display(&self, state: &InterpreterState<'_>) -> String

Implementors§