Struct wast::BlockType [−][src]
pub struct BlockType<'a> {
pub label: Option<Id<'a>>,
pub label_name: Option<NameAnnotation<'a>>,
pub ty: TypeUse<'a, FunctionType<'a>>,
}
Expand description
Extra information associated with block-related instructions.
This is used to label blocks and also annotate what types are expected for the block.
Fields
label: Option<Id<'a>>
label_name: Option<NameAnnotation<'a>>
ty: TypeUse<'a, FunctionType<'a>>