Structs§
- A
TypeRef
is a reference to aType
. Most importantly, it implementsAsRef<Type>
andDeref<Target = Type>
. It also has a cheapClone
– only the reference is cloned, not the underlyingType
. - Holds a reference to all of the
Type
s used in theModule
, and facilitates lookups so you can get aTypeRef
to theType
you want.
Enums§
Traits§
- The
Typed
trait is used for anything that has aType
.