pub trait Identifiable {
// Required method
fn path(&self) -> &Vec<usize>;
// Provided methods
fn source_id(&self) -> usize { ... }
fn id(&self) -> usize { ... }
fn parent_path(&self) -> Vec<usize> { ... }
}pub trait Identifiable {
// Required method
fn path(&self) -> &Vec<usize>;
// Provided methods
fn source_id(&self) -> usize { ... }
fn id(&self) -> usize { ... }
fn parent_path(&self) -> Vec<usize> { ... }
}