Struct wast::Local [−][src]
pub struct Local<'a> {
pub id: Option<Id<'a>>,
pub name: Option<NameAnnotation<'a>>,
pub ty: ValType<'a>,
}A local for a func or let instruction.
Each local has an optional identifier for name resolution, an optional name
for the custom name section, and a value type.
Fields
id: Option<Id<'a>>An identifier that this local is resolved with (optionally) for name resolution.
name: Option<NameAnnotation<'a>>An optional name for this local stored in the custom name section.
ty: ValType<'a>The value type of this local.