Dyn_into/wasm_bindgen/web_sys

What the...?
dyn_into:: &ltweb_sys::HtmlCanvasElement&gt().map_err(|_|{}) .unwrap();

Error:"dyn_into not found for web_sys::Element"

Playin trying to play with wasm, done so in the past and this always worked.... now, not so much. Im super frustrated. anyone know whats up?

(And yes my toml file includes web_sys,js_ys and wasm_bindgen)

Do you have JsCast in scope?

1 Like

:scream: ummm...errrr,,,Well yea bruh of course man,pfffft, what do you think i am, st00pid or something, duh, thats totes what i got goin on. in muh code. man. :grimacing: :tired_face: :crazy_face: . . .

(dont i feel stupid right about now... thanks friend @s3bk)

Haha we all make that mistake, starting out. No need to feel dumb :stuck_out_tongue:

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.