pub trait DirectoryNode { // Required methods fn children(&self) -> Vec<Node>; fn get_child(&self, name: &str) -> Option<Node>; }
Trait for directory nodes.
Returns the children of the directory.
Returns the child with the given name.