[][src]Struct wasmparser::Section

pub struct Section<'a> {
    pub code: SectionCode<'a>,
    // some fields omitted
}

Fields

code: SectionCode<'a>

Methods

impl<'a> Section<'a>[src]

pub fn get_type_section_reader<'b>(&self) -> Result<TypeSectionReader<'b>> where
    'a: 'b, 
[src]

Creates reader for the type section. Available when the reader just read the type section.

pub fn get_function_section_reader<'b>(
    &self
) -> Result<FunctionSectionReader<'b>> where
    'a: 'b, 
[src]

Creates reader for the function section. Available when the reader just read the function section.

pub fn get_code_section_reader<'b>(&self) -> Result<CodeSectionReader<'b>> where
    'a: 'b, 
[src]

Creates reader for the code section. Available when the reader just read the code section.

pub fn get_export_section_reader<'b>(&self) -> Result<ExportSectionReader<'b>> where
    'a: 'b, 
[src]

Creates reader for the export section. Available when the reader just read the export section.

pub fn get_import_section_reader<'b>(&self) -> Result<ImportSectionReader<'b>> where
    'a: 'b, 
[src]

Creates reader for the import section. Available when the reader just read the import section.

pub fn get_global_section_reader<'b>(&self) -> Result<GlobalSectionReader<'b>> where
    'a: 'b, 
[src]

Creates reader for the global section. Available when the reader just read the global section.

pub fn get_memory_section_reader<'b>(&self) -> Result<MemorySectionReader<'b>> where
    'a: 'b, 
[src]

Creates reader for the memory section. Available when the reader just read the memory section.

pub fn get_data_section_reader<'b>(&self) -> Result<DataSectionReader<'b>> where
    'a: 'b, 
[src]

Creates reader for the data section. Available when the reader just read the data section.

pub fn get_table_section_reader<'b>(&self) -> Result<TableSectionReader<'b>> where
    'a: 'b, 
[src]

Creates reader for the table section. Available when the reader just read the table section.

pub fn get_element_section_reader<'b>(&self) -> Result<ElementSectionReader<'b>> where
    'a: 'b, 
[src]

Creates reader for the element section. Available when the reader just read the element section.

pub fn get_name_section_reader<'b>(&self) -> Result<NameSectionReader<'b>> where
    'a: 'b, 
[src]

pub fn get_producers_section_reader<'b>(
    &self
) -> Result<ProducersSectionReader<'b>> where
    'a: 'b, 
[src]

pub fn get_linking_section_reader<'b>(&self) -> Result<LinkingSectionReader<'b>> where
    'a: 'b, 
[src]

pub fn get_reloc_section_reader<'b>(&self) -> Result<RelocSectionReader<'b>> where
    'a: 'b, 
[src]

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

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

pub fn get_sourcemappingurl_section_content<'b>(&self) -> Result<&'b str> where
    'a: 'b, 
[src]

pub fn get_binary_reader<'b>(&self) -> BinaryReader<'b> where
    'a: 'b, 
[src]

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

pub fn content<'b>(&self) -> Result<SectionContent<'b>> where
    'a: 'b, 
[src]

Trait Implementations

impl<'a> Debug for Section<'a>[src]

Auto Trait Implementations

impl<'a> Send for Section<'a>

impl<'a> Sync for Section<'a>

impl<'a> Unpin for Section<'a>

impl<'a> UnwindSafe for Section<'a>

impl<'a> RefUnwindSafe for Section<'a>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]