pub trait HasGet {
// Provided method
fn get_impl<T>(self, segment: impl Into<String>) -> Option<T>
where Self: HasBranches<T> + Sized,
T: HasPathSegment { ... }
}
Expand description
This is the trait one should implement to provide a way to get branches by their path segments.