Skip to main content

InternFn

Type Alias InternFn 

Source
pub type InternFn<S> = Arc<dyn Fn(S) -> HandleId + Send + Sync>;
Expand description

User-supplied function that converts a snapshot value Vec<T> (or similar) into a HandleId for Core emission. The binding owns the value registry; this closure captures Arc<Binding> and calls binding.intern(snapshot).

Aliased Typeยง

pub struct InternFn<S> { /* private fields */ }