AsContext

Derive Macro AsContext 

Source
#[derive(AsContext)]
Expand description

Derive AsRef<Context<T>> and AsContext for a struct