Struct wast::Type [−][src]
pub struct Type<'a> {
pub span: Span,
pub id: Option<Id<'a>>,
pub name: Option<NameAnnotation<'a>>,
pub def: TypeDef<'a>,
}
Expand description
A type declaration in a module
Fields
span: Span
Where this type was defined.
id: Option<Id<'a>>
An optional identifer to refer to this type
by as part of name
resolution.
name: Option<NameAnnotation<'a>>
An optional name for this function stored in the custom name
section.
def: TypeDef<'a>
The type that we’re declaring.