Module fuzzy_pickles::ast

source ·
Expand description

The components of a Rust Abstract Syntax Tree (AST)

Structs

An array with all members explcitly listed
An array with an example value and a length
Inline type conversion
Inline type specification
An associated item in a type with generics
An attribute that applies to the containing element
An attribute that applies to the subsequent element
An element that can have attributes applied to it.
A binary operator
A collection of statements and an optional final expression
Exit from a loop
A byte literal
A byte string literal
A function, method, or closure call
A character literal
A closure
A closure’s argument
A constant value
Advance to the next iteration of a loop
An extern crate declaration
A dereference of an expression
Type disambiguation
An enumeration of multiple types
A single member of an enum
The box keyword expression
Functions, types, and variables provided via FFI
A function provided from FFI
A named argument to a FFI function
A variadic list of arguments to a FFI function
A static variable accessed via FFI
An opaque FFI type
Access to a field of a struct
An entire Rust file
The iterator-based loop
A function definition
A function definition’s signature
Qualifiers that apply to functions
Generic lifetime parameters
Generic type parameters
Generic lifetime and type parameters
A single identifier
Boolean conditional control flow
The conditional, pattern-matching variable scope
Implementation details for a type
A constant in an implementation block
A function in an implementation block
Inherent implementation for a type
An implementation of a trait for a type
A type in an implementation block
A variable declaration
A lifetime identifier
The infinite loop
A single unexpanded macro
Pattern-matching conditional control flow
A single pattern of a match
A module of code
A function argument with a name
A number literal
A binary number literal
A decimal number literal
A hexadecimal number literal
An octal number literal
An expression surrounded by parenthesis
The path that an item is visible in
A component of a module-qualified identifier
A module-qualified identifier
A component used in pattern matching
Pattern matching against a box
Pattern matching a byte literal
Pattern matching a byte string literal
Pattern matching a character literal
A basic pattern match
A macro call that expands into a pattern
A renaming of a matched pattern
Pattern matching a number literal
Pattern matching against an exclusive range
Pattern matching against an inclusive range
Pattern matching against a reference
Pattern matching a slice
Pattern matching a subslice
Pattern matching a string literal
Pattern matching against a struct
Pattern matching a struct’s field with recursive patterns
Pattern matching a struct’s field with simple names
Pattern matching a tuple
An exclusive range
An inclusive range
A reference of an expression
Exit from a function or closure
The self argument with an explicit type
The self argument with an implicit type
The square-bracket operator for slicing and indexing
A static value
A string literal
A struct definition
A struct defined using curly braces
A struct defined using parenthesis
A named field of a struct
An unnamed field of a struct
Literal creation of a struct
A field of a struct literal
Defines a trait
A lifetime bound on a type
A standard trait bound on a type
A relaxed trait bound on a type
The trait bounds of a type
An argument of a trait’s function declaration
The signature of a function in a trait declaration
A trait’s associated constant
A trait’s function
A trait’s associated type
The question mark / try / early exit operator
A tuple expression
Allows specifying concrete types
A concrete type
A type alias
An array in a type
A disambiguation of a type
A function pointer as a type
The named argument of a function pointer
Generic parameter declarations in the basic style
Generic parameter declarations in a function style
A type with a higher-ranked trait bound
An unnamed implementation of a trait
A named type
A component of a named type
A pointer in a type
A reference in a type
The qualifiers for a reference in a type
A slice as a type
A tuple as a type
A unary operator
A union definition
A block which allows calling unsafe code
A use item
The names imported by the use item
A wildcard name imported by the use item
A single name imported by the use item
A collection of names imported by the use item
A variable expression
Visibility modifiers for an element
A single where clause
A single where clause applying to a lifetime
A single where clause applying to a type
The boolean-based loop
The conditional, pattern-matching loop

Enums