Struct wasmparser::NameMap
source · pub struct NameMap<'a> { /* private fields */ }
Expand description
Represents a name map from the names custom section.
Implementations
Trait Implementations
sourceimpl<'a> IntoIterator for NameMap<'a>
impl<'a> IntoIterator for NameMap<'a>
sourceimpl<'a> SectionReader for NameMap<'a>
impl<'a> SectionReader for NameMap<'a>
sourcefn original_position(&self) -> usize
fn original_position(&self) -> usize
Gets the original position of the reader.
sourcefn ensure_end(&self) -> Result<()>
fn ensure_end(&self) -> Result<()>
Ensures the reader is at the end of the section. Read more
sourceimpl SectionWithLimitedItems for NameMap<'_>
impl SectionWithLimitedItems for NameMap<'_>
sourcefn 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. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for NameMap<'a>
impl<'a> Send for NameMap<'a>
impl<'a> Sync for NameMap<'a>
impl<'a> Unpin for NameMap<'a>
impl<'a> UnwindSafe for NameMap<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more