pub enum Rule {
Show 55 variants
EOI,
ice,
WHITESPACE,
COMMENT,
pragma,
lang_include,
lang_define,
identifier,
value,
typename,
numeric_value,
keyword_out,
keyword_module,
keyword_interface,
keyword_enum,
keyword_struct,
keyword_class,
keyword_throws,
keyword_exception,
keyword_extends,
keyword_optional,
keyword_include,
keyword_idempotent,
optional_tag,
file_include,
block_open,
block_close,
any_block,
module_block,
interface_block,
enum_block,
struct_block,
extends,
class_block,
exception_block,
fn_return,
fn_return_proxy,
fn_name,
fn_arg_open,
fn_arg,
fn_arg_out,
fn_arg_list,
fn_arg_close,
fn_throws,
function,
enum_line,
enum_lines,
struct_line_end,
struct_line_default,
struct_line,
class_line_end,
class_line_default,
class_line,
typedef_end,
typedef,
}
Variants§
EOI
End-of-input
ice
WHITESPACE
COMMENT
pragma
lang_include
lang_define
identifier
value
typename
numeric_value
keyword_out
keyword_module
keyword_interface
keyword_enum
keyword_struct
keyword_class
keyword_throws
keyword_exception
keyword_extends
keyword_optional
keyword_include
keyword_idempotent
optional_tag
file_include
block_open
block_close
any_block
module_block
interface_block
enum_block
struct_block
extends
class_block
exception_block
fn_return
fn_return_proxy
fn_name
fn_arg_open
fn_arg
fn_arg_out
fn_arg_list
fn_arg_close
fn_throws
function
enum_line
enum_lines
struct_line_end
struct_line_default
struct_line
class_line_end
class_line_default
class_line
typedef_end
typedef
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 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