Struct glc::NonTerminal
source · [−]pub struct NonTerminal(pub String);Expand description
A non-terminal symbol is a symbol that must be replaced further before the final expression is complete.
Tuple Fields
0: StringTrait Implementations
sourceimpl Clone for NonTerminal
impl Clone for NonTerminal
sourcefn clone(&self) -> NonTerminal
fn clone(&self) -> NonTerminal
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 NonTerminal
impl Debug for NonTerminal
sourceimpl PartialEq<NonTerminal> for NonTerminal
impl PartialEq<NonTerminal> for NonTerminal
sourcefn eq(&self, other: &NonTerminal) -> bool
fn eq(&self, other: &NonTerminal) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Eq for NonTerminal
impl StructuralEq for NonTerminal
impl StructuralPartialEq for NonTerminal
Auto Trait Implementations
impl RefUnwindSafe for NonTerminal
impl Send for NonTerminal
impl Sync for NonTerminal
impl Unpin for NonTerminal
impl UnwindSafe for NonTerminal
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