pub enum SyntacticPrimaryKind<'src> {
OptionalSequence(Vec<SingleDefinition<'src>>),
RepeatedSequence(Vec<SingleDefinition<'src>>),
GroupedSequence(Vec<SingleDefinition<'src>>),
MetaIdentifier(&'src str),
TerminalString(&'src str),
SpecialSequence(&'src str),
EmptySequence,
}Variants§
OptionalSequence(Vec<SingleDefinition<'src>>)
RepeatedSequence(Vec<SingleDefinition<'src>>)
GroupedSequence(Vec<SingleDefinition<'src>>)
MetaIdentifier(&'src str)
TerminalString(&'src str)
SpecialSequence(&'src str)
EmptySequence
Trait Implementations§
Source§impl<'src> Clone for SyntacticPrimaryKind<'src>
impl<'src> Clone for SyntacticPrimaryKind<'src>
Source§fn clone(&self) -> SyntacticPrimaryKind<'src>
fn clone(&self) -> SyntacticPrimaryKind<'src>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'src> Debug for SyntacticPrimaryKind<'src>
impl<'src> Debug for SyntacticPrimaryKind<'src>
Source§impl<'src> PartialEq for SyntacticPrimaryKind<'src>
impl<'src> PartialEq for SyntacticPrimaryKind<'src>
impl<'src> StructuralPartialEq for SyntacticPrimaryKind<'src>
Auto Trait Implementations§
impl<'src> Freeze for SyntacticPrimaryKind<'src>
impl<'src> RefUnwindSafe for SyntacticPrimaryKind<'src>
impl<'src> Send for SyntacticPrimaryKind<'src>
impl<'src> Sync for SyntacticPrimaryKind<'src>
impl<'src> Unpin for SyntacticPrimaryKind<'src>
impl<'src> UnwindSafe for SyntacticPrimaryKind<'src>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more