pub fn children(&self, node: NodeId) -> Option<&[NodeId]> {
      if let Some(NodeData::Children(c)) = self.data(node) {
         return Some(c);
      }
      None
   }
/// Returns the children data of a node, or `None` if the node carries a different type of data.
Returns the children data of a node, or `None` if the node carries a different type of data.
Returns the children data of a node or ` None ` if the node carries a different type of data .
pub fn children(&self, node: NodeId) -> Option<&[NodeId]> {
      if let Some(NodeData::Children(c)) = self.data(node) {
         return Some(c);
      }
      None
   }
pub fn children ( & self , node : NodeId ) -> Option < & [ NodeId ] > { if let Some ( NodeData :: Children ( c ) ) = self . data ( node ) { return Some ( c ) ; } None }
Returns the children data of a node, or `None` if the node carries a different type of data.
Returns the children data of a node or ` None ` if the node carries a different type of data .
&self
node
NodeId