[][src]Trait wasmparser::SectionReader

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

Associated Types

type Item

Loading content...

Required methods

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

fn eof(&self) -> bool

fn original_position(&self) -> usize

Loading content...

Provided methods

fn ensure_end(&self) -> Result<()>

Loading content...

Implementors

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 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 LinkingSectionReader<'a>[src]

type Item = LinkingType

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

type Item = MemoryType

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 = FuncType

Loading content...