Struct wasmtime_environ::wasmparser::IndirectNameMap
source · pub struct IndirectNameMap<'a> { /* private fields */ }
Expand description
Represents a reader for indirect names from the names custom section.
Trait Implementations§
source§impl<'a> Clone for IndirectNameMap<'a>
impl<'a> Clone for IndirectNameMap<'a>
source§fn clone(&self) -> IndirectNameMap<'a>
fn clone(&self) -> IndirectNameMap<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> IntoIterator for IndirectNameMap<'a>
impl<'a> IntoIterator for IndirectNameMap<'a>
§type Item = Result<IndirectNaming<'a>, BinaryReaderError>
type Item = Result<IndirectNaming<'a>, BinaryReaderError>
The type of the elements being iterated over.
§type IntoIter = SectionIteratorLimited<IndirectNameMap<'a>>
type IntoIter = SectionIteratorLimited<IndirectNameMap<'a>>
Which kind of iterator are we turning this into?
source§fn into_iter(self) -> <IndirectNameMap<'a> as IntoIterator>::IntoIter
fn into_iter(self) -> <IndirectNameMap<'a> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
source§impl<'a> SectionReader for IndirectNameMap<'a>
impl<'a> SectionReader for IndirectNameMap<'a>
§type Item = IndirectNaming<'a>
type Item = IndirectNaming<'a>
The item returned by the reader.
source§fn read(&mut self) -> Result<IndirectNaming<'a>, BinaryReaderError>
fn read(&mut self) -> Result<IndirectNaming<'a>, BinaryReaderError>
Reads an item from the section.
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 IndirectNameMap<'_>
impl SectionWithLimitedItems for IndirectNameMap<'_>
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.