Enum abnf_parser::element::Element [−][src]
pub enum Element { Rulename(String), IString(String), SString(String), NumberValue(u32), ValueRange((u32, u32)), ValueSequence(Vec<u32>), ProseValue(String), Sequence(Vec<Repetition>), Selection(Vec<Repetition>), }
Expand description
An individual element in an ABNF rule.
Variants
Rulename(String)
rulename.
IString(String)
case insensitive string.
SString(String)
case seisitve string.
NumberValue(u32)
num-val.
range of num-val.
sequence of num-val.
ProseValue(String)
prose-val.
Sequence(Vec<Repetition>)
concatination.
Selection(Vec<Repetition>)
alternation.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Element
impl UnwindSafe for Element
Blanket Implementations
Mutably borrows from an owned value. Read more