Module types
llvm_ir
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.
TypeRef
Type
AsRef<Type>
Deref<Target = Type>
Clone
Holds a reference to all of the Types used in the Module, and facilitates lookups so you can get a TypeRef to the Type you want.
Module
See LLVM 12 docs on Floating-Point Types
See LLVM 12 docs on Type System
The Typed trait is used for anything that has a Type.
Typed