Skip to main content

VariantConstructors

Derive Macro VariantConstructors 

Source
#[derive(VariantConstructors)]
{
    // Attributes available to this derive:
    #[scsys]
}
👎Deprecated since 0.3.2:

use the variants crate instead

Expand description

This macro automatically generates functional constructors for all enclosed variants.