Skip to main content

Crate capability_stripped_string_skeleton

Crate capability_stripped_string_skeleton 

Source

Structs§

NamedChildSpec
To generate this structure, describe a single child entry beneath a Dispatch or Aggregate node. This description includes:
NamedChildSpecBuilder
Builder for NamedChildSpec.
StrippedNodeData
StrippedNodeDataBuilder
Builder for StrippedNodeData.
StrippedStringSkeleton
We want to create a stripped version of our StringSkeleton, called a StrippedStringSkeleton.
StrippedStringSkeletonBuilder
Builder for StrippedStringSkeleton.

Enums§

NamedChildSpecBuilderError
Error type for NamedChildSpecBuilder
SkillTreeNodeKind
To make this selection, categorize each type of node in our skill tree scaffold.
StrippedNodeDataBuilderError
Error type for StrippedNodeDataBuilder
StrippedStringSkeletonBuilderError
Error type for StrippedStringSkeletonBuilder

Functions§

promote_missing_child_nodes_with_defaults
This helper function scans a StringSkeleton for any child references (in Aggregate or Dispatch) whose child names do not appear as keys in the StringSkeleton.map. For each such missing child, we “promote” it into a synthetic LeafHolder entry, with default parameters (e.g. n_leaves=9, capstone=false). This prevents aggregator or dispatch children from disappearing when we later convert to a StrippedStringSkeleton.