pub enum Rule {
Show 40 variants
alpha,
digit,
whitespace,
newline,
whitespaces,
WHITESPACE,
comment,
COMMENT,
lax_ident,
ident,
ns_ident,
lax_ns_ident,
maybe_ty,
union_ty,
simple_ty,
ty,
namespace_name,
path,
enum_case,
enum_ty,
variant_case,
variant_param,
variant_ty,
byte_size,
fixed_ty,
record,
record_prop,
namespace_annotation,
generic_annotation,
lint,
typedef,
namespace,
import,
interface_fn_param,
interface_fn_params,
interface_fn,
protocol_body,
protocol_name,
protocol,
avdl_protocol,
}Variants§
alpha
digit
whitespace
newline
whitespaces
WHITESPACE
comment
COMMENT
lax_ident
ident
ns_ident
lax_ns_ident
maybe_ty
union_ty
simple_ty
ty
namespace_name
path
enum_case
enum_ty
variant_case
variant_param
variant_ty
byte_size
fixed_ty
record
record_prop
namespace_annotation
generic_annotation
lint
typedef
namespace
import
interface_fn_param
interface_fn_params
interface_fn
protocol_body
protocol_name
protocol
avdl_protocol
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl Parser<Rule> for AVDLParser
impl Parser<Rule> for AVDLParser
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