pub trait Evaluatable {
// Required method
fn eval(
&self,
shell: &mut Shell<impl ShellExtensions>,
) -> Result<i64, EvalError>;
}Expand description
Trait implemented by evaluatable arithmetic expressions.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.