Crate syrette_macros

Source
Expand description

Macros for the Syrette crate.

Macros§

declare_default_factoryfactory
Shortcut for declaring a default factory.
declare_interface
Declares the interface trait of a implementation.

Attribute Macros§

factoryfactory
Makes a type alias usable as a factory interface.
injectable
Makes a type injectable.
named
Used to declare the name of a dependency in the constructor of a impl block decorated with injectable.