[][src]Struct object::read::wasm::WasmFile

pub struct WasmFile<'data> { /* fields omitted */ }

A WebAssembly object file.

Implementations

impl<'data> WasmFile<'data>[src]

pub fn parse(data: &'data [u8]) -> Result<Self>[src]

Parse the raw wasm data.

Trait Implementations

impl<'data> Debug for WasmFile<'data>[src]

impl<'data> Default for WasmFile<'data>[src]

impl<'data, 'file> Object<'data, 'file> for WasmFile<'data> where
    'data: 'file, 
[src]

type Segment = WasmSegment<'data, 'file>

A segment in the object file.

type SegmentIterator = WasmSegmentIterator<'data, 'file>

An iterator over the segments in the object file.

type Section = WasmSection<'data, 'file>

A section in the object file.

type SectionIterator = WasmSectionIterator<'data, 'file>

An iterator over the sections in the object file.

type Comdat = WasmComdat<'data, 'file>

A COMDAT section group in the object file.

type ComdatIterator = WasmComdatIterator<'data, 'file>

An iterator over the COMDAT section groups in the object file.

type Symbol = WasmSymbol<'data, 'file>

A symbol in the object file.

type SymbolIterator = WasmSymbolIterator<'data, 'file>

An iterator over symbols in the object file.

type SymbolTable = WasmSymbolTable<'data, 'file>

A symbol table in the object file.

Auto Trait Implementations

impl<'data> RefUnwindSafe for WasmFile<'data>

impl<'data> Send for WasmFile<'data>

impl<'data> Sync for WasmFile<'data>

impl<'data> Unpin for WasmFile<'data>

impl<'data> UnwindSafe for WasmFile<'data>

Blanket Implementations

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

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

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

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

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.