Collect

Trait Collect 

Source
pub trait Collect {
    // Required methods
    fn collect(&self, var: &Symbol) -> Self;
    fn collect_terms(&self) -> Self;
    fn combine_like_terms(&self) -> Self;
}
Expand description

Trait for collecting terms in expressions

Required Methods§

Source

fn collect(&self, var: &Symbol) -> Self

Source

fn collect_terms(&self) -> Self

Source

fn combine_like_terms(&self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§