Skip to content

Can derive_deftly macros be modular?

Suppose (purely hypothetically I have a trait Object, where Object extends two more-or-less hidden traits Castable and Callable. I have written derive_deftly macros for Castable and Callable, and I want to write a new one for Object.

Supposing that Castable and Callable are implementation details, can I make my Object macro call my them?