Struct glc::Derivation
source · [−]Expand description
A derivation starts with the starting non-terminal symbol of the grammar and progresses by iteratively replacing non-terminals by some sequence of symbols, according to the grammar rules.
Tuple Fields
0: Vec<Symbol>Trait Implementations
sourceimpl Clone for Derivation
impl Clone for Derivation
sourcefn clone(&self) -> Derivation
fn clone(&self) -> Derivation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for Derivation
impl Debug for Derivation
sourceimpl From<Derivation> for Expression
impl From<Derivation> for Expression
sourcefn from(d: Derivation) -> Self
fn from(d: Derivation) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for Derivation
impl Send for Derivation
impl Sync for Derivation
impl Unpin for Derivation
impl UnwindSafe for Derivation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more