pub fn use_context<T>(context: &'static LocalKey<Context<T>>) -> Rc<T>Expand description
Allows access to the current context value of the given context.
See create_context() for usage.
pub fn use_context<T>(context: &'static LocalKey<Context<T>>) -> Rc<T>Allows access to the current context value of the given context.
See create_context() for usage.