Enum wast::core::ModuleKind
source · pub enum ModuleKind<'a> {
Text(Vec<ModuleField<'a>>),
Binary(Vec<&'a [u8]>),
}Expand description
The different kinds of ways to define a module.
Variants§
Text(Vec<ModuleField<'a>>)
A module defined in the textual s-expression format.
Binary(Vec<&'a [u8]>)
A module that had its raw binary bytes defined via the binary
directive.