I have written code in rust and webAssembly and playing around it , where I am facing some issue.
lib.rs file
use wasm_bindgen::prelud