4 lines
96 B
Rust
4 lines
96 B
Rust
/// A node that is evaluable to type `T`
|
|
pub trait Evaluable<T> {
|
|
fn evaluate(&self) -> T;
|
|
} |