Function style::parallel::create_thread_local_context
source · pub(crate) fn create_thread_local_context<'scope, E>(
slot: &mut Option<ThreadLocalStyleContext<E>>,
)where
E: TElement + 'scope,
Expand description
A callback to create our thread local context. This needs to be out of line so we don’t allocate stack space for the entire struct in the caller.