Struct glc::Expression
source · [−]Expand description
An expression constituted of a sequence of terminal symbols. These
expressions can be obtained by making a complete Derivation with the
Grammar. A Derivation that has only terminal symbols can be
converted into an expression.
Tuple Fields
0: Vec<Terminal>Trait Implementations
sourceimpl Clone for Expression
impl Clone for Expression
sourcefn clone(&self) -> Expression
fn clone(&self) -> Expression
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 Expression
impl Debug for Expression
sourceimpl Display for Expression
impl Display for Expression
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 Expression
impl Send for Expression
impl Sync for Expression
impl Unpin for Expression
impl UnwindSafe for Expression
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