Trait wasmparser::SectionReader[][src]

pub trait SectionReader {
    type Item;
    fn read(&mut self) -> Result<Self::Item>;
fn eof(&self) -> bool;
fn original_position(&self) -> usize;
fn range(&self) -> Range; fn ensure_end(&self) -> Result<()> { ... } }

Associated Types

Loading content...

Required methods

fn read(&mut self) -> Result<Self::Item>[src]

fn eof(&self) -> bool[src]

fn original_position(&self) -> usize[src]

fn range(&self) -> Range[src]

Loading content...

Provided methods

fn ensure_end(&self) -> Result<()>[src]

Loading content...

Implementors

impl<'a> SectionReader for AliasSectionReader<'a>[src]

type Item = Alias<'a>

impl<'a> SectionReader for CodeSectionReader<'a>[src]

type Item = FunctionBody<'a>

impl<'a> SectionReader for DataSectionReader<'a>[src]

type Item = Data<'a>

impl<'a> SectionReader for ElementSectionReader<'a>[src]

type Item = Element<'a>

impl<'a> SectionReader for EventSectionReader<'a>[src]

type Item = EventType

impl<'a> SectionReader for ExportSectionReader<'a>[src]

type Item = Export<'a>

impl<'a> SectionReader for FunctionSectionReader<'a>[src]

type Item = u32

impl<'a> SectionReader for GlobalSectionReader<'a>[src]

type Item = Global<'a>

impl<'a> SectionReader for ImportSectionReader<'a>[src]

type Item = Import<'a>

impl<'a> SectionReader for InstanceArgsReader<'a>[src]

type Item = InstanceArg<'a>

impl<'a> SectionReader for InstanceSectionReader<'a>[src]

type Item = Instance<'a>

impl<'a> SectionReader for LinkingSectionReader<'a>[src]

type Item = LinkingType

impl<'a> SectionReader for MemorySectionReader<'a>[src]

type Item = MemoryType

impl<'a> SectionReader for ModuleSectionReader<'a>[src]

type Item = NestedModule<'a>

impl<'a> SectionReader for NameSectionReader<'a>[src]

type Item = Name<'a>

impl<'a> SectionReader for ProducersSectionReader<'a>[src]

type Item = ProducersField<'a>

impl<'a> SectionReader for RelocSectionReader<'a>[src]

type Item = Reloc

impl<'a> SectionReader for TableSectionReader<'a>[src]

type Item = TableType

impl<'a> SectionReader for TypeSectionReader<'a>[src]

type Item = TypeDef<'a>

Loading content...