pub trait RuleTrait {
// Required methods
fn name(&self) -> String;
fn call(
&self,
smartcalc: &SmartCalcConfig,
fields: &BTreeMap<String, TokenType>,
) -> Option<TokenType>;
}
pub trait RuleTrait {
// Required methods
fn name(&self) -> String;
fn call(
&self,
smartcalc: &SmartCalcConfig,
fields: &BTreeMap<String, TokenType>,
) -> Option<TokenType>;
}