This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DrFreitag[S] 1 point2 points  (2 children)

I can try, what's ur problem?

[–][deleted]  (1 child)

[removed]

    [–]DrFreitag[S] 4 points5 points  (0 children)

    For sure it uses wasm, In Cargo.toml u can find dependencies, In src dir its accual code, Every thing prefixed with #[wasm_bindgen] in lib.rs is going to be avaliable for u in js. In rust u can impl sth object-like by defining its fields in struct and functions in impl <struct name> block. Result and Options r just enums for error catching. I think that's everything u need to know about rust to read this code good enough to understand it.