pub trait Kind {
    // Required methods
    fn collect(&self, exprs: &mut Vec<usize>);
    fn is_trivial(&self) -> bool;
}

Required Methods§

source

fn collect(&self, exprs: &mut Vec<usize>)

source

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.

Implementors§