[][src]Trait cfg::history::HistorySource

pub trait HistorySource<H> {
    fn build(&mut self, lhs: Symbol, rhs: &[Symbol]) -> H;
}

A trait for history factories.

Required methods

fn build(&mut self, lhs: Symbol, rhs: &[Symbol]) -> H

Create a history.

Loading content...

Implementors

impl HistorySource<History> for BuildHistory[src]

impl HistorySource<NullHistory> for NullHistorySource[src]

impl<'a, H> HistorySource<H> for CloneHistory<'a, H> where
    H: Clone
[src]

impl<H> HistorySource<H> for DefaultHistory<H> where
    H: Default
[src]

Loading content...