Macro staticize::derive_staticize
source · macro_rules! derive_staticize { ($typ:ty) => { ... }; }
Expand description
Implements Staticize
for the specified type.
This will only work for T: 'static
, and this macro only exists because we cannot do a
blanket impl for T: 'static
because it would conflict with many of the other impls we
provide.