Attribute Macro dyn_dyn::dyn_dyn_base

source ·
#[dyn_dyn_base]
Expand description

Declares a trait as being a base trait for downcasting.

This macro marks a trait as being a base for dynamic trait object downcasting. All impl blocks for this trait will need to use the #[dyn_dyn_impl] attribute to declare what traits they wish to expose.