[][src]Struct wasmly::App

pub struct App { /* fields omitted */ }

Methods

impl App[src]

pub fn new(imports: Vec<Import>) -> Self[src]

pub fn add_function(&mut self, f: Function) -> i32[src]

pub fn add_data(&mut self, g: Data) -> u32[src]

pub fn add_global(&mut self, g: Global)[src]

pub fn add_table(&mut self, g: Table)[src]

pub fn write_to_file(&self, file_name: &str) -> Result<(), Error>[src]

pub fn get_function_index(&self, func: &Function) -> i32[src]

Trait Implementations

impl ToBytes for App[src]

impl Debug for App[src]

Auto Trait Implementations

impl Send for App

impl Sync for App

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]