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

rlmesh::adapters::StateSource

enumPreviewuse rlmesh::adapters::StateSource;[source]

A typed adapter vocabulary or tree alternative.

enum StateSource

Observation

variant[source]
Observation

observation

Action

variant[source]
Action

action

parse

associated function[source]
fn parse(text: &str) -> Option<Self>

Parse an exact vocabulary spelling.

as_str

method[source]
fn as_str(self) -> &'static str

The exact vocabulary spelling.

Trait implementations

  • impl Clone for StateSource
  • impl Copy for StateSource
  • impl Debug for StateSource
  • impl StructuralPartialEq for StateSource
  • impl PartialEq for StateSource
  • impl Eq for StateSource
  • impl Hash for StateSource
  • impl Vocabulary for StateSource
  • impl Display for StateSource
  • impl Serialize for StateSource
  • impl<'de> Deserialize<'de> for StateSource