ConstructorLite

Derive Macro ConstructorLite 

Source
#[derive(ConstructorLite)]
{
    // Attributes available to this derive:
    #[constructor]
}
Expand description

Generate a constructor for the required fields of the struct.

See the constructor-lite crate documentation for more details.