[−][src]Struct wasmparser::Section
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]
'a: 'b,
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]
&self
) -> Result<FunctionSectionReader<'b>> where
'a: 'b,
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]
'a: 'b,
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]
'a: 'b,
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]
'a: 'b,
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]
'a: 'b,
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]
'a: 'b,
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]
'a: 'b,
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]
'a: 'b,
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]
'a: 'b,
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]
'a: 'b,
pub fn get_producers_section_reader<'b>(
&self
) -> Result<ProducersSectionReader<'b>> where
'a: 'b,
[src]
&self
) -> Result<ProducersSectionReader<'b>> where
'a: 'b,
pub fn get_linking_section_reader<'b>(&self) -> Result<LinkingSectionReader<'b>> where
'a: 'b,
[src]
'a: 'b,
pub fn get_reloc_section_reader<'b>(&self) -> Result<RelocSectionReader<'b>> where
'a: 'b,
[src]
'a: 'b,
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]
'a: 'b,
pub fn get_binary_reader<'b>(&self) -> BinaryReader<'b> where
'a: 'b,
[src]
'a: 'b,
pub fn range(&self) -> Range
[src]
Trait Implementations
Auto Trait Implementations
impl<'a> Sync for Section<'a>
impl<'a> Send 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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,