You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use deno_bindgen::deno_bindgen;#[deno_bindgen]structFoo{}#[deno_bindgen]implFoo{#[constructor]pubfnnew() -> Foo{Self{}}pubfnbar(&self) -> String{"Hello from Rust!".to_string()}}
#[deno_bindgen]implFoo{pubfnbaz() -> String{"Hello from Rust!".to_string()}}
this code produces the following error:
called `Result::unwrap()` on an `Err` value: MissingReceiver
The text was updated successfully, but these errors were encountered:
Are static methods in the plan for the future?
this code produces the following error:
The text was updated successfully, but these errors were encountered: