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