Phase

Trait Phase 

Source
pub trait Phase {
    // Required method
    fn apply(&self, items: &mut Vec<Item>);
}
Expand description

Placeholder trait for phases.

Required Methods§

Source

fn apply(&self, items: &mut Vec<Item>)

Apply the phase on items. A phase may transform an item into zero, one or more items.

Implementors§