Attribute Macro better_any::impl_tid

source · []
#[impl_tid]
Expand description

Attribute macro that makes your implementation of TidAble safe Use it when you can’t use derive e.g. for trait object.

trait Trait<'a>{}
#[impl_tid]
impl<'a> TidAble<'a> for Box<dyn Trait<'a> + 'a>{}