pub trait PatternVariablesQueryable {
// Required method
fn query(&self, id: PatternId) -> Vec<PatternVariable>;
}Expand description
Polymorphic container of Pattern objects used for querying pattern variables.
Required Methods§
sourcefn query(&self, id: PatternId) -> Vec<PatternVariable>
fn query(&self, id: PatternId) -> Vec<PatternVariable>
Lookup the pattern in this container and then get Pattern::variables from it.