pub trait ParserNonDetPDATrait {
type StateItem: PartialEq + Clone + Copy;
type SignalItem: PartialEq;
type DataItem;
type StackSymbolItem: PartialEq;
// Required methods
fn signal(&mut self, signal: &Self::SignalItem);
fn state(&self) -> &Self::StateItem;
fn data(&self) -> &<Self as ParserNonDetPDATrait>::DataItem;
fn data_mut(&mut self) -> &mut <Self as ParserNonDetPDATrait>::DataItem;
}Required Associated Types§
type StateItem: PartialEq + Clone + Copy
type SignalItem: PartialEq
type DataItem
type StackSymbolItem: PartialEq
Required Methods§
fn signal(&mut self, signal: &Self::SignalItem)
fn state(&self) -> &Self::StateItem
fn data(&self) -> &<Self as ParserNonDetPDATrait>::DataItem
fn data_mut(&mut self) -> &mut <Self as ParserNonDetPDATrait>::DataItem
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".