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

rlmesh::env::TagParam

structPreviewuse rlmesh::env::TagParam;[source]

One contract discriminant of a branched factory, including its default value and allowed choices.

struct TagParam

Also available as rlmesh::TagParam.

name

field[source]
name: String

The make keyword.

default_

field[source]
default_: Value

The value make gets when the keyword is omitted; one of choices.

choices

field[source]
choices: Vec<Value>

Every value the discriminant may take.

Trait implementations

  • impl Clone for TagParam
  • impl Debug for TagParam
  • impl StructuralPartialEq for TagParam
  • impl PartialEq for TagParam