Struct wasmparser::Naming
source · Expand description
Represents a name for an index from the names section.
Fields§
§index: u32
The index being named.
name: &'a str
The name for the index.
Trait Implementations§
source§impl<'a> FromReader<'a> for Naming<'a>
impl<'a> FromReader<'a> for Naming<'a>
source§fn from_reader(reader: &mut BinaryReader<'a>) -> Result<Self>
fn from_reader(reader: &mut BinaryReader<'a>) -> Result<Self>
Attempts to read
Self
from the provided binary reader, returning an
error if it is unable to do so. Read more