Module rust

Module rust 

Source

Structs§

ConstInit
A const initialization statement.
Enum
An enum declaration.
EnumCase
An enum case.
Function
A function declaration.
IfStatement
An if statement with an optional else clause.
ImplBlock
An impl block.
Loop
A forever loop statement.
MatchCase
A match statement case.
MatchStatement
A match statement.
Reference
A reference to a type.
Signature
A function signature.
SignatureDec
A function signature declaration.
Struct
A struct declaration.
StructField
A field of a struct declaration.
Trait
A trait declaration.
TypeDec
A type declaration.
Var
A name with an associated Rust type.
VarInit
A variable initialization statement.
WhileLoop
A while loops.

Enums§

Access
An access level.
CommentType
A comment type.
EnumFields
Enum fields.
Receiver
A function receiver.
RustPrimitive
A Rust primitive.
RustType
A Rust type.

Traits§

WithAccess
An element with an access level.
WithAttributes
An element with attributes.
WithComments
An element with comment lines.
WithDerives
WithFnGenerics
An element with function generics.
WithFunctions
An element with functions.
WithGenerics
An element with generic type parameters.
WithReceiver
An element with an optional function receiver.
WithResult
An element with an optional result.
WithRustType
An element with a Rust type.
WithSignature
An element with a function signature.
WithStructFields
An element with struct fields.
WithTraitFunctions
An element with function signature declarations.
WithTypeDecs
An element with type declarations.
WithUnsafeFlag
An element with an unsafe flag.
WithVar
An element with a variable.
WithVarParams
An element with variable parameters.