Struct cfg::history::NullHistory [] [src]

pub struct NullHistory;

A history which carries no data. All operations on NullHistory are no-op.

Trait Implementations

impl Action for NullHistory

fn no_op(&self) -> Self

impl Binarize for NullHistory

fn binarize<R>(&self, _rule: &R, _depth: usize) -> Self

impl EliminateNulling for NullHistory

fn eliminate_nulling<R>(&self, _rule: &R, _which: BinarizedRhsSubset) -> Self

impl AssignPrecedence for NullHistory

fn assign_precedence<R>(&self, _rule: &R, _looseness: u32) -> Self

impl RewriteSequence for NullHistory

type Rewritten = Self

fn top(&self, _rhs: Symbol, _sep: Option<Symbol>, _new: &[Symbol]) -> Self

fn bottom(&self, _rhs: Symbol, _sep: Option<Symbol>, _new: &[Symbol]) -> Self

Derived Implementations

impl Default for NullHistory

fn default() -> NullHistory

impl Debug for NullHistory

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Copy for NullHistory

impl Clone for NullHistory

fn clone(&self) -> NullHistory

1.0.0fn clone_from(&mut self, source: &Self)