/// Creates a new node that is child of this node.
Creates a new node that is child of this node.
Creates a new node that is child of this node .
pub fn create_child(&mut self, key: impl AsRef<str>) -> NodeWriter<'_> {
        let child = Arc::new(self.node.create_child(key.as_ref()));
        self.items.push(NodeValue::Node(child.clone()));
        NodeWriter::new(child, self.items)
    }
pub fn create_child ( & mut self , key : impl AsRef < str > ) -> NodeWriter < ' _ > { let child = Arc :: new ( self . node . create_child ( key . as_ref ( ) ) ) ; self . items . push ( NodeValue :: Node ( child . clone ( ) ) ) ; NodeWriter :: new ( child , self . items ) }
Creates a new node that is child of this node.
Creates a new node that is child of this node .
&mut self
key
impl AsRef<str>