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

rlmesh::Describable

structPreviewuse rlmesh::Describable;[source]

What can be described: a model or env factory type, or an instance.

struct Describable<'a>(/* private field */)

model

associated function[source]
fn model<P: Policy>() -> Describable<'static>

The model type form: P’s declarations only, no user code run.

env_factory

associated function[source]
fn env_factory<F: EnvFactory + Default + 'a>() -> Describable<'a>

The env factory type form: each build default-constructs a fresh factory.

Trait implementations

  • impl Debug for Describable<'_>
  • impl<'a> From<&'a Model> for Describable<'a>
  • impl<'a, F: EnvFactory> From<&'a mut F> for Describable<'a>