Derive Macro FromContext

Source
#[derive(FromContext)]
{
    // Attributes available to this derive:
    #[context]
}
Expand description

Derive macro for the FromContext trait. Allows to automatically fetch all the resources and tasks from the context.

See the trait documentation for more details.