pub enum Rule {
Show 45 variants
EOI,
WHITESPACE,
COMMENT,
Ident,
Number,
StrToEol,
ServiceIdent,
GlobalAnn,
LocalAnn,
DocLine,
DocsAndAnnotations,
TypeDecl,
Primitive,
Tuple,
Array,
Slice,
Named,
Generics,
StructDecl,
StructDef,
TupleDef,
UnitDef,
TypeParams,
Fields,
Field,
EnumDecl,
Variants,
Variant,
AliasDecl,
ServiceDecl,
ExtendsBlock,
EventsBlock,
FunctionsBlock,
TypesBlock,
FuncDecl,
Params,
Param,
Ret,
Throws,
ProgramDecl,
ConstructorsBlock,
CtorDecl,
ServicesBlock,
ServiceExpo,
Top,
}Variants§
EOI
End-of-input
WHITESPACE
COMMENT
Ident
Number
StrToEol
ServiceIdent
GlobalAnn
LocalAnn
DocLine
DocsAndAnnotations
TypeDecl
Primitive
Tuple
Array
Slice
Named
Generics
StructDecl
StructDef
TupleDef
UnitDef
TypeParams
Fields
Field
EnumDecl
Variants
Variant
AliasDecl
ServiceDecl
ExtendsBlock
EventsBlock
FunctionsBlock
TypesBlock
FuncDecl
Params
Param
Ret
Throws
ProgramDecl
ConstructorsBlock
CtorDecl
ServicesBlock
ServiceExpo
Top
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
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