diplomat_
core
0.8.1
Module types
Module Items
Structs
Enums
Functions
In diplomat_
core::
ast
diplomat_core
::
ast
Module
types
Copy item path
Source
Structs
ยง
PRIMITIVES_
MAPPING
๐
PRIMITIVE_
TO_
STRING
๐
Path
Type
A named type that is just a path, e.g.
std::borrow::Cow<'a, T>
.
Reference
Display
๐
An
fmt::Display
type for formatting Rust references.
STRING_
TO_
PRIMITIVE
๐
Enums
ยง
Custom
Type
A type declared inside a Diplomat-annotated module.
Lifetime
Origin
ModSymbol
A symbol declared in a module, which can either be a pointer to another path, or a custom type defined directly inside that module
Mutability
Primitive
Type
A built-in Rust primitive scalar type.
String
Encoding
Type
Name
A local type reference, such as the type of a field, parameter, or return value. Unlike
CustomType
, which represents a type declaration,
TypeName
s can compose types through references and boxing, and can also capture unresolved paths.
Functions
ยง
is_
runtime_
type
๐