Structs§
- TypeRef
- 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
. - Types
- Holds a reference to all of the
Type
s used in theModule
, and facilitates lookups so you can get aTypeRef
to theType
you want.