Struct wasmparser_nostd::IndirectNamingReader
source · [−]pub struct IndirectNamingReader<'a> { /* private fields */ }
Expand description
Represents a reader for indirect names from the names custom section.
Implementations
sourceimpl<'a> IndirectNamingReader<'a>
impl<'a> IndirectNamingReader<'a>
sourcepub fn get_indirect_count(&self) -> u32
pub fn get_indirect_count(&self) -> u32
Gets the count of indirect names.
sourcepub fn original_position(&self) -> usize
pub fn original_position(&self) -> usize
Gets the original position of the reader.
sourcepub fn read<'b>(&mut self) -> Result<IndirectNaming<'b>>where
'a: 'b,
pub fn read<'b>(&mut self) -> Result<IndirectNaming<'b>>where
'a: 'b,
Reads an indirect name from the reader.
Auto Trait Implementations
impl<'a> RefUnwindSafe for IndirectNamingReader<'a>
impl<'a> Send for IndirectNamingReader<'a>
impl<'a> Sync for IndirectNamingReader<'a>
impl<'a> Unpin for IndirectNamingReader<'a>
impl<'a> UnwindSafe for IndirectNamingReader<'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