macro_rules! attachment {
( $type:ident, $inner_type:ty $(,)? ) => { ... };
}Expand description
Define an attachment type.
The first argument is the type name. The second argument is the inner type name.
It’s a trivial newtype with a new(Into<InnerT>) constructor.