DEV Community

Discussion on: My Mistakes Making a Canvas Based Game with Rust and WebAssembly

Collapse
 
kayis profile image
K

Macros aren't an option?

Collapse
 
maxgy profile image
Maxwell Anderson

I'm not sure about macros in this case, but the usual way to go about adding event listeners straight into Rust is using dynamic clojures.