Crate web_assembly_whipshout[][src]

Expand description

WebAssembly.

Learning the idiomatic way to use it. First approach by comparing parse functions and fibonacci.

WebAssembly Doc

Structs

Provider struct to test data conversion

Functions

Convert JS Object to Provider struct

Just to test performance in js

Parse int and returns js values

Parse int and returns rust values (idiomatic way)

Get a JS array and returns it with values multiplied by 2

Send a JS Array

Send a Rust vector to JS

Convert JS Object to Provider struct

Just to test performance in js

Parse int and returns js values

Parse int and returns rust values (idiomatic way)

Get a JS array and returns it with values multiplied by 2

Send a JS Array

Send a Rust vector to JS