Also use an optional as the return type instead of an error code.
std.builtin.Type.{Pointer,Array,StructField}