#[dynamize::dynamize] #[convert = |x: Foo| -> Bar {x.baz()}] #[convert = |x: Foo| -> Bar {x.baz()}] trait Trait { fn test(&self) -> Foo; } fn main() {}