[][src]Trait wasmparser::SectionReader

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

Associated Types

Loading content...

Required methods

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

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

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

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

Loading content...

Provided methods

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

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