Struct wasmtime_environ::wasmparser::NameMap
source · pub struct NameMap<'a> { /* private fields */ }
Expand description
Represents a name map from the names custom section.
Implementations§
Trait Implementations§
source§impl<'a> IntoIterator for NameMap<'a>
impl<'a> IntoIterator for NameMap<'a>
§type Item = Result<Naming<'a>, BinaryReaderError>
type Item = Result<Naming<'a>, BinaryReaderError>
The type of the elements being iterated over.
§type IntoIter = SectionIteratorLimited<NameMap<'a>>
type IntoIter = SectionIteratorLimited<NameMap<'a>>
Which kind of iterator are we turning this into?
source§impl<'a> SectionReader for NameMap<'a>
impl<'a> SectionReader for NameMap<'a>
source§fn original_position(&self) -> usize
fn original_position(&self) -> usize
Gets the original position of the reader.
source§fn ensure_end(&self) -> Result<(), BinaryReaderError>
fn ensure_end(&self) -> Result<(), BinaryReaderError>
Ensures the reader is at the end of the section. Read more
source§impl SectionWithLimitedItems for NameMap<'_>
impl SectionWithLimitedItems for NameMap<'_>
source§fn into_iter_with_offsets(self) -> IntoIterWithOffsets<Self> ⓘwhere
Self: Sized,
fn into_iter_with_offsets(self) -> IntoIterWithOffsets<Self> ⓘwhere Self: Sized,
Returns an iterator over the items within this section where the offset
in the original section is provided with the item.