pub enum Rule {
Show 37 variants
EOI,
WHITESPACE,
COMMENT,
LINE_COMMENT,
BLOCK_COMMENT,
schema_file,
schema_decl,
interface_decl,
node_decl,
implements_clause,
edge_decl,
cardinality,
prop_decl,
body_constraint,
constraint_name,
constraint_args,
constraint_arg,
range_bound,
type_ref,
core_type,
list_type,
enum_type,
vector_type,
enum_value,
base_type,
annotation,
annotation_arg,
literal,
string_lit,
string_char,
float_lit,
integer,
signed_float,
signed_integer,
bool_lit,
type_name,
ident,
}Variants§
EOI
End-of-input
WHITESPACE
COMMENT
LINE_COMMENT
BLOCK_COMMENT
schema_file
schema_decl
interface_decl
node_decl
implements_clause
edge_decl
cardinality
prop_decl
body_constraint
constraint_name
constraint_args
constraint_arg
range_bound
type_ref
core_type
list_type
enum_type
vector_type
enum_value
base_type
annotation
annotation_arg
literal
string_lit
string_char
float_lit
integer
signed_float
signed_integer
bool_lit
type_name
ident
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