pub trait Keyword: Sync + Any {
// Required method
fn compile(&self, _: &Value, _: &WalkContext<'_>) -> KeywordResult;
// Provided method
fn is_exclusive(&self) -> bool { ... }
}
pub trait Keyword: Sync + Any {
// Required method
fn compile(&self, _: &Value, _: &WalkContext<'_>) -> KeywordResult;
// Provided method
fn is_exclusive(&self) -> bool { ... }
}