Expand description
WebAssembly.
Learning the idiomatic way to use it. First approach by comparing parse functions and fibonacci.
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