pub trait NodeBase {
// Provided methods
fn id(&self) -> u32 { ... }
fn depth(&self) -> u32 { ... }
fn children(&self) -> Children<'_> ⓘ { ... }
}
Expand description
Trait that is shared by both Node::Data
and Node::Directory
.
Provided Methods§
fn id(&self) -> u32
fn id(&self) -> u32
Integer that identifies the Type, Name, or Language ID of the entry
depending on its NodeBase::depth
in the tree