1 2 3 4 5 6 7 8
#[derive(derive_more::Mul)] struct Foo; #[derive(derive_more::Mul)] #[mul(forward)] struct Bar; fn main() {}