Trait substrate::io::HasNameTree
source · pub trait HasNameTree {
// Required method
fn names(&self) -> Option<Vec<NameTree>>;
// Provided method
fn flat_names(&self, root: Option<NameFragment>) -> Vec<NameBuf> { ... }
}
Expand description
An object with named flattened components.
Required Methods§
Provided Methods§
sourcefn flat_names(&self, root: Option<NameFragment>) -> Vec<NameBuf>
fn flat_names(&self, root: Option<NameFragment>) -> Vec<NameBuf>
Returns a flattened list of node names.