rlmesh::env::TagParam
One contract discriminant of a branched factory, including its default value and allowed choices.
struct TagParamAlso available as rlmesh::TagParam.
Fields
name
field[source]name: StringThe make keyword.
default_
field[source]default_: ValueThe 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