Crate web_assembly_whipshout

Crate web_assembly_whipshout 

Source
Expand description

WebAssembly.

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

WebAssembly Doc

Structs§

Provider
Provider struct to test data conversion

Functions§

convert_to_provider
Convert JS Object to Provider struct
fibonacci
Just to test performance in js
parse_string
Parse int and returns js values
parse_string_option
Parse int and returns rust values (idiomatic way)
return_array_modified
Get a JS array and returns it with values multiplied by 2
send_array
Send a JS Array
send_vector
Send a Rust vector to JS