pub enum Rule {
Show 52 variants
EOI,
ws,
meta_attr_key,
meta_attr_value,
meta_key_pair,
meta_comment,
meta_comment_line,
comment,
comment_line,
empty_line,
double_quoted_string,
inner,
escape,
unicode,
single_quoted_string,
single_quoted_inner,
string,
line_continuation,
arg_ws,
arg_ws_maybe,
any_content,
any_breakable,
any_eol,
until_whitespace,
identifier_whitespace,
any_equals,
commands,
from,
rename,
link,
SCRIPTS,
char,
from_said,
rename_attributes,
rename_attr_pair,
rename_attr_pairs,
link_attributes,
link_attr_pair,
link_attr_pairs,
attr_key,
key_value,
key_pair,
attr_key_pairs,
prop_key_pairs,
alias,
said,
refs,
refn,
ref_said,
ref_alias,
lang,
file,
}
Variants§
EOI
End-of-input
ws
meta_attr_key
meta_attr_value
meta_key_pair
meta_comment
meta_comment_line
comment
comment_line
empty_line
double_quoted_string
inner
escape
unicode
single_quoted_string
single_quoted_inner
string
line_continuation
arg_ws
arg_ws_maybe
any_content
any_breakable
any_eol
until_whitespace
identifier_whitespace
any_equals
commands
from
rename
link
SCRIPTS
char
from_said
rename_attributes
rename_attr_pair
rename_attr_pairs
link_attributes
link_attr_pair
link_attr_pairs
attr_key
key_value
key_pair
attr_key_pairs
prop_key_pairs
alias
said
refs
refn
ref_said
ref_alias
lang
file
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl Parser<Rule> for OCAfileParser
impl Parser<Rule> for OCAfileParser
Source§impl PartialOrd for Rule
impl PartialOrd for Rule
impl Copy for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.