Derive Macro better_any::Tid

source · []
#[derive(Tid)]
Expand description

Derive macro to implement traits from this crate

It checks if it is safe to implement Tid for your struct Also it adds :TidAble<'a> bound on type parameters unless your type parameter already has explicit 'static bound

All of its functionality is available via regular tid! macro, so unless you really want looks/readability of derive macro, there is no need to drag whole proc-macro machinery to your project.