foreigner_class!(class Boo { self_type Boo; constructor create_boo() -> Rc>; method Boo::test(&self, _: bool) -> f32; method Boo::set_a(&mut self, _: i32); });