macro_rules! impl_newtype {
($newtype:ty, $inner:ty $(, $param:ident : $bound:path)*) => { ... };
}Expand description
Implements the following traits for a newtype of a der decodable/encodable type:
Fromconversions to/from the inner typeAsRefandAsMutDecodeValueandEncodeValueFixedTagmapping to the inner value’sFixedTag::TAG
The main case is simplifying newtypes which need an AssociatedOid
Optional type parameters follow the inner type, for example P: Profile.