pub enum Rule {
Show 48 variants
EOI,
program,
element,
identifier,
variable,
import_elm,
inject_elm,
replace_elm,
extern_elm,
extern_elm_types,
extern_elm_impls,
extern_elm_impl,
type_elm,
fields,
field,
struct_elm,
tags,
tag,
tag_params,
tag_param,
enum_elm,
enum_fields,
enum_field,
impl_elm,
impl_target,
impl_target_struct,
impl_target_enum,
where_rules,
where_rule,
where_rule_exists,
where_rule_is,
where_rule_impl,
where_rule_impls,
string,
string_inner,
string_char,
code,
code_inner,
code_chars,
code_op,
code_op_in,
code_op_in_fields,
code_op_for,
vars,
WHITESPACE,
COMMENT,
COMMENT_SINGLE,
COMMENT_MULTI,
}Variants§
EOI
End-of-input
program
element
identifier
variable
import_elm
inject_elm
replace_elm
extern_elm
extern_elm_types
extern_elm_impls
extern_elm_impl
type_elm
fields
field
struct_elm
tag
tag_params
tag_param
enum_elm
enum_fields
enum_field
impl_elm
impl_target
impl_target_struct
impl_target_enum
where_rules
where_rule
where_rule_exists
where_rule_is
where_rule_impl
where_rule_impls
string
string_inner
string_char
code
code_inner
code_chars
code_op
code_op_in
code_op_in_fields
code_op_for
vars
WHITESPACE
COMMENT
COMMENT_SINGLE
COMMENT_MULTI
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
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 UnsafeUnpin 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