pub fn node_content(kind: &str) -> Option<NodeContentDescriptor>Expand description
Return the child-content descriptor for the given node kind, or None if
the kind accepts no authorable child content (e.g. rect, ellipse, line).
The match here is exhaustive over all authorable node kinds so that adding a
new kind forces a deliberate decision about child content at compile time.
Kinds with no child content return None.