struct command
struct <sub command> ?<arg> ...?
% set a [struct create node {root {} {}}]
<feather::structure 0x2004e278> % struct define node {
data
left
right
} As a structure is also a container it is possible to use the generic container Feather Container commands with it. e.g.
% struct define node {
data
left
right
}
% set a [struct create node {root {} {}}]
<feather::structure 0x2004e278>
% getx $a data
root
% setx $a left [struct create node {child1 {} {}}]
% struct contents $a
root {<feather::structure 0x2004ef18>} {}
% getx $a left data
child1