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

rlmesh::adapters::Tagged

structPreviewuse rlmesh::adapters::Tagged;[source]

An environment with immutable adapter tags merged over its metadata.

struct Tagged<E>

get_ref

method[source]
fn get_ref(&self) -> &E

Borrow the authored environment.

get_mut

method[source]
fn get_mut(&mut self) -> &mut E

Mutably borrow the authored environment.

into_inner

method[source]
fn into_inner(self) -> E

Recover the authored environment without the tag wrapper.

tags

method[source]
fn tags(&self) -> &EnvTags

The immutable tags attached to this environment.

Trait implementations

  • impl<E: Env> Env for Tagged<E>
  • impl<E: VectorEnv> VectorEnv for Tagged<E>