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

rlmesh::adapters::TextContainer

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

A typed adapter vocabulary or tree alternative.

enum TextContainer

Str

variant[source]
Str

str

List

variant[source]
List

list

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 TextContainer
  • impl Copy for TextContainer
  • impl Debug for TextContainer
  • impl StructuralPartialEq for TextContainer
  • impl PartialEq for TextContainer
  • impl Eq for TextContainer
  • impl Hash for TextContainer
  • impl Vocabulary for TextContainer
  • impl Display for TextContainer
  • impl Serialize for TextContainer
  • impl<'de> Deserialize<'de> for TextContainer