pub trait Recursive {
// Required method
fn get_depth(&self) -> usize;
}
Expand description
Models containing sub-Models with its own type, similar to a node in a tree. Such Model has a depth value for illustrating the tree hierarchy.
pub trait Recursive {
// Required method
fn get_depth(&self) -> usize;
}
Models containing sub-Models with its own type, similar to a node in a tree. Such Model has a depth value for illustrating the tree hierarchy.