Skip to main content

default_style

Macro default_style 

Source
macro_rules! default_style {
    ($type_name:ty => $style_name:ident) => { ... };
}
Expand description

Generate a default-only style enum for a type.

For types that don’t have custom style variants, this macro generates a simple enum with only a Default variant.