Function use_context

Source
pub fn use_context<T: Clone + 'static>() -> T
Expand description

Get a context with the given type. If no context is found, this panics.