This reference describes unreleased code on main; no release documents it yet.

rlmesh::WithContext

structPreviewuse rlmesh::WithContext;[source]

A predict closure that reads the context. Built by with_context.

struct WithContext<F>(/* private field */)

Trait implementations

  • impl<F> Debug for WithContext<F>
  • impl<F> Policy for WithContext<F> where F: FnMut(Value, &mut PredictContext<'_>) -> Result<Value> + Send + 'static