Skip to main content

Injectable

Derive Macro Injectable 

Source
#[derive(Injectable)]
{
    // Attributes available to this derive:
    #[inject]
    #[scope]
}
Expand description

Derive dependency-injection factories without changing the struct declaration.