foreigner_class!(class Foo { self_type Foo<'a>; constructor new<'a>() -> Rc>>; method Foo::f(&self, _: i32); });