NonterminalValue

Trait NonterminalValue 

Source
pub trait NonterminalValue: Clone + PartialEq { }
Expand description

Describes requirements for types of non-terminal symbol values.

Any type that is cloneable and comparable by == automatically satisfies NonterminalValue.

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§

Source§

impl<Nt> NonterminalValue for Nt
where Nt: Clone + PartialEq,