Macro tor_rpcbase::impl_const_type_id
source · macro_rules! impl_const_type_id { { $($type:ident)* } => { ... }; }
Expand description
Implement [HasConstTypeId_] for one or more types.
To avoid truly unpleasant consequences, this macro only works on simple identifiers, so you can’t run it on arbitrary types, or on types in other modules.