[−][src]Struct wasmly::App
Methods
impl App
[src]
pub fn new(imports: Vec<Import>) -> Self
[src]
pub fn add_type(&mut self, f: FunctionType) -> u32
[src]
pub fn add_function(&mut self, f: Function) -> u32
[src]
pub fn add_elements(&mut self, elements_offset: u32, els: Vec<Element>)
[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
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto 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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,