#[inject]Available on crate feature
inject only.Expand description
Represents the metadata used to identify an injected function.
Remarks
The default behavior looks for an associated function with the
name new. To change this behavior, decorate the function to
be used with #[inject]. This attribute may only be applied
to a single function.