[][src]Attribute Macro illicit_macro::from_env

#[from_env]

Defines required illicit::get values for a function. Binds the provided types as if references to them were implicit function arguments.

Panics

Will cause the annotated function to panic if it is invoked without the requested type in its environment. This attribute adds an Environment Expectations section to the doc comments of the annotated function.