Skip to main content

Module ty

Module ty 

Source
Available on crate feature ast-models only.
Expand description

AST models for type signatures in wright source.

Structs§

ArrayTy
An array type with a known length ([T; N]) or a slice type with an unknown length ([T]).
AtomicTy
An atomic type signature in wright source code.
FunctionTy
A function type signature, such as func(u8, u8) -> bool.
NamedTy
A named type (such as a reference to a type from the standard libarary or a user defined struct).
ReferenceTy
Source code for a reference type signature, such as @u64.

Enums§

AtomicTyVariant
The atomic types of wright – primitive numeric types, boolean, char, etc.
Type
A type signature in source code.