rlmesh::adapters::ObsNode
A typed adapter vocabulary or tree alternative.
enum ObsNodeVariants
Associated functions
Leaf
variant[source]Leaf(ObsLeaf)The Leaf alternative.
Dict
variant[source]Dict(Vec<(String, ObsNode)>)The Dict alternative.
Tuple
variant[source]Tuple(Vec<ObsNode>)The Tuple alternative.
dict
associated function[source]fn dict<K: Into<String>>(
pairs: impl IntoIterator<Item = (K, Self)>,
) -> SelfCreate an ordered Dict node; duplicate keys are checked at composition.
tuple
associated function[source]fn tuple(items: impl IntoIterator<Item = Self>) -> SelfCreate a Tuple node in positional order.
Trait implementations
- impl Clone for ObsNode
- impl Debug for ObsNode
- impl PartialEq for ObsNode
- impl From<ObsLeaf> for ObsNode
- impl Display for ObsNode
- impl From<ImageTag> for ObsNode
- impl From<StateTag> for ObsNode
- impl From<TextTag> for ObsNode
- impl From<Split> for ObsNode