Trait geo_aid::generator::expression::Kind
source · pub trait Kind {
// Required methods
fn collect(&self, exprs: &mut Vec<usize>);
fn is_trivial(&self) -> bool;
}Required Methods§
fn collect(&self, exprs: &mut Vec<usize>)
sourcefn is_trivial(&self) -> bool
fn is_trivial(&self) -> bool
Trivial expressions are ones that don’t require any calculations being made. Trivial expressions should not be cached, as it is much faster to evaluate them than to get their caches.