static_str

Attribute Macro static_str 

Source
#[static_str]
Expand description

A marker attribute for use with DeriveStaticStr.

This attribute is used to specify the prefix and suffix for the as_static_str method generated by DeriveStaticStr. It doesn’t modify the input and is only used as a marker for the derive macro.