pub enum Rule {
Show 74 variants
EOI,
ws,
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,
add,
modify,
remove,
char,
from_said,
oca_object,
remove_oca_object,
attrs_key,
props_key,
label,
meta,
information,
character_encoding,
character_encoding_props,
format,
conformance,
cardinality,
entry_code,
entry,
unit,
flagged_attrs,
classification,
classification_value,
attribute,
remove_attribute,
remove_meta,
remove_label,
attr_key,
prop_key,
key_value,
key_pair,
attr_key_pairs,
prop_key_pairs,
entry_code_list,
entry_code_key_value,
entry_code_key_pair,
attr_entry_code_key_pairs,
entry_value,
entry_key,
entry_object,
entry_key_value,
entry_key_value_pair,
entry_key_pair,
attr_entry_key_pairs,
list_value,
unit_system,
attr_type,
attr_pair,
attr_pairs,
lang,
file,
}
Expand description
Variants§
EOI
ws
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
add
modify
remove
char
from_said
oca_object
remove_oca_object
attrs_key
props_key
label
meta
information
character_encoding
character_encoding_props
format
conformance
cardinality
entry_code
entry
unit
flagged_attrs
classification
classification_value
attribute
remove_attribute
remove_meta
remove_label
attr_key
prop_key
key_value
key_pair
attr_key_pairs
prop_key_pairs
entry_code_list
entry_code_key_value
entry_code_key_pair
attr_entry_code_key_pairs
entry_value
entry_key
entry_object
entry_key_value
entry_key_value_pair
entry_key_pair
attr_entry_key_pairs
list_value
unit_system
attr_type
attr_pair
attr_pairs
lang
file
Trait Implementations§
source§impl Ord for Rule
impl Ord for Rule
source§impl Parser<Rule> for OCAfileParser
impl Parser<Rule> for OCAfileParser
source§impl PartialEq<Rule> for Rule
impl PartialEq<Rule> for Rule
source§impl PartialOrd<Rule> for Rule
impl PartialOrd<Rule> for Rule
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Rule
impl Eq for Rule
impl StructuralEq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.