Skip to main content

string_attachment

Macro string_attachment 

Source
macro_rules! string_attachment {
    ( $type:ident $(,)? ) => { ... };
}
Expand description

Define a String attachment type.

The argument is the type name.

It’s a trivial newtype with a new(ToString) constructor.