[][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 range(&self) -> Range; 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

fn range(&self) -> Range

Loading content...

Provided methods

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

Loading content...

Implementors

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

type Item = Alias

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 = (ExternalKind, u32)

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

type Item = ModuleCode<'a>

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

type Item = u32

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...