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

rlmesh::adapters::Vocabulary

traitPreviewuse rlmesh::adapters::Vocabulary;[source]

A library-defined closed string vocabulary. Implementations are sealed.

trait Vocabulary: Copy + Eq + Hash + fmt::Debug + Send + Sync + 'static + sealed::Sealed

as_str

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

The exact vocabulary spelling.

parse

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

Parse an exact vocabulary spelling.