pub enum NonTerminalKind {
Show 117 variants
Array,
ArrayBegin,
ArrayElements,
ArrayElementsOpt,
ArrayElementsTail,
ArrayElementsTailOpt,
ArrayEnd,
ArrayMarker,
ArrayMarkerOpt,
ArrayOpt,
At,
Backtick1,
Backtick2,
Backtick3,
Backtick4,
Backtick5,
Begin,
Bind,
Binding,
BindingRhs,
Boolean,
CodeBlock,
CodeBlock3,
CodeBlock3List,
CodeBlock3ListGroup,
CodeBlock4,
CodeBlock4List,
CodeBlock4ListGroup,
CodeBlock5,
CodeBlock5List,
CodeBlock5ListGroup,
CodeBlock6,
CodeBlock6List,
CodeBlock6ListGroup,
CodeBlockEnd3,
CodeBlockEnd4,
CodeBlockEnd5,
CodeBlockEnd6,
CodeBlockStart3,
CodeBlockStart4,
CodeBlockStart5,
CodeBlockStart6,
Comma,
Continue,
Dot,
End,
Eure,
EureList,
EureList0,
EureOpt,
Ext,
ExtensionNameSpace,
False,
Float,
GrammarNewline,
Hole,
Ident,
Inf,
InlineCode,
InlineCode1,
InlineCode2,
InlineCode2List,
InlineCode2ListGroup,
InlineCodeEnd2,
InlineCodeStart2,
Integer,
Key,
KeyBase,
KeyIdent,
KeyOpt,
KeyTuple,
KeyTupleElements,
KeyTupleElementsOpt,
KeyTupleElementsTail,
KeyTupleElementsTailOpt,
KeyTupleOpt,
KeyValue,
Keys,
KeysList,
LParen,
MapBind,
NaN,
NoBacktick,
NoBacktickInline,
Null,
Number,
Object,
ObjectList,
ObjectOpt,
ObjectOpt0,
ObjectOpt1,
RParen,
Section,
SectionBinding,
SectionBody,
SectionBodyList,
SectionBodyOpt,
Str,
Strings,
StringsList,
Text,
TextBinding,
TextBindingOpt,
TextBindingOpt0,
TextStart,
True,
Tuple,
TupleElements,
TupleElementsOpt,
TupleElementsTail,
TupleElementsTailOpt,
TupleIndex,
TupleOpt,
Value,
ValueBinding,
Ws,
Root,
}Variants§
Array
ArrayBegin
ArrayElements
ArrayElementsOpt
ArrayElementsTail
ArrayElementsTailOpt
ArrayEnd
ArrayMarker
ArrayMarkerOpt
ArrayOpt
At
Backtick1
Backtick2
Backtick3
Backtick4
Backtick5
Begin
Bind
Binding
BindingRhs
Boolean
CodeBlock
CodeBlock3
CodeBlock3List
CodeBlock3ListGroup
CodeBlock4
CodeBlock4List
CodeBlock4ListGroup
CodeBlock5
CodeBlock5List
CodeBlock5ListGroup
CodeBlock6
CodeBlock6List
CodeBlock6ListGroup
CodeBlockEnd3
CodeBlockEnd4
CodeBlockEnd5
CodeBlockEnd6
CodeBlockStart3
CodeBlockStart4
CodeBlockStart5
CodeBlockStart6
Comma
Continue
Dot
End
Eure
EureList
EureList0
EureOpt
Ext
ExtensionNameSpace
False
Float
GrammarNewline
Hole
Ident
Inf
InlineCode
InlineCode1
InlineCode2
InlineCode2List
InlineCode2ListGroup
InlineCodeEnd2
InlineCodeStart2
Integer
Key
KeyBase
KeyIdent
KeyOpt
KeyTuple
KeyTupleElements
KeyTupleElementsOpt
KeyTupleElementsTail
KeyTupleElementsTailOpt
KeyTupleOpt
KeyValue
Keys
KeysList
LParen
MapBind
NaN
NoBacktick
NoBacktickInline
Null
Number
Object
ObjectList
ObjectOpt
ObjectOpt0
ObjectOpt1
RParen
Section
SectionBinding
SectionBody
SectionBodyList
SectionBodyOpt
Str
Strings
StringsList
Text
TextBinding
TextBindingOpt
TextBindingOpt0
TextStart
True
Tuple
TupleElements
TupleElementsOpt
TupleElementsTail
TupleElementsTailOpt
TupleIndex
TupleOpt
Value
ValueBinding
Ws
Root
Implementations§
Source§impl NonTerminalKind
impl NonTerminalKind
pub fn from_non_terminal_name(name: &str) -> Self
Trait Implementations§
Source§impl Clone for NonTerminalKind
impl Clone for NonTerminalKind
Source§fn clone(&self) -> NonTerminalKind
fn clone(&self) -> NonTerminalKind
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 Debug for NonTerminalKind
impl Debug for NonTerminalKind
Source§impl Display for NonTerminalKind
impl Display for NonTerminalKind
Source§impl Hash for NonTerminalKind
impl Hash for NonTerminalKind
Source§impl Ord for NonTerminalKind
impl Ord for NonTerminalKind
Source§fn cmp(&self, other: &NonTerminalKind) -> Ordering
fn cmp(&self, other: &NonTerminalKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NonTerminalKind
impl PartialEq for NonTerminalKind
Source§impl PartialOrd for NonTerminalKind
impl PartialOrd for NonTerminalKind
impl Copy for NonTerminalKind
impl Eq for NonTerminalKind
impl StructuralPartialEq for NonTerminalKind
Auto Trait Implementations§
impl Freeze for NonTerminalKind
impl RefUnwindSafe for NonTerminalKind
impl Send for NonTerminalKind
impl Sync for NonTerminalKind
impl Unpin for NonTerminalKind
impl UnwindSafe for NonTerminalKind
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