Module llvm_ir::types [−][src]
Structs
A TypeRef
is a reference to a Type
.
Most importantly, it implements AsRef<Type>
and Deref<Target = Type>
.
It also has a cheap Clone
– only the reference is cloned, not the
underlying Type
.
Holds a reference to all of the Type
s used in the Module
, and facilitates
lookups so you can get a TypeRef
to the Type
you want.