Module types

Source

Structs§

TypeRef
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.
Types
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.

Enums§

FPType
See LLVM 14 docs on Floating-Point Types
NamedStructDef
Type
See LLVM 14 docs on Type System

Traits§

Typed
The Typed trait is used for anything that has a Type.