Struct wast::Data [−][src]
pub struct Data<'a> {
pub span: Span,
pub id: Option<Id<'a>>,
pub kind: DataKind<'a>,
pub data: Vec<DataVal<'a>>,
}A data directive in a WebAssembly module.
Fields
span: SpanWhere this data was defined
id: Option<Id<'a>>The optional name of this data segment
kind: DataKind<'a>Whether this data segment is passive or active
data: Vec<DataVal<'a>>Bytes for this Data segment, viewed as the concatenation of all the
contained slices.