Function use_context
pub fn use_context<T>() -> Twhere
T: Clone + 'static,
Expand description
Get a context with the given type. If no context is found, this panics.
pub fn use_context<T>() -> Twhere
T: Clone + 'static,
Get a context with the given type. If no context is found, this panics.