Module lockjaw::module_attributes[][src]

Expand description

Additional nested attributes for items under a #[module]

This mod is for documentation purpose only. All nested attributes should be unqualified (always used as #[attribute] instead of #[lockjaw::attribute]).

Attribute Macros

Annotates a method that binds an implementation to a trait.

Declares an optional binding.

Similar to #[into_vec] but instead of a single element, all elements in the returned Vec<T> is merged into the Vec<T> binding.

Denotes the return value of the binding should be collected into a HashMap<K,V>.

Denotes the return value of the binding should be collected into a Vec<T>.

Declares that a Vec<T> or HashMap<K,V> is a multibinding.

Annotates a method that provides an object into the dependency graph.

Designates a qualifier to the return type, so there can be seperated bindings of the same type.