pub trait HasGetAPI<'a> {
// Provided method
fn get<T>(&'a self, segment: impl Into<String>) -> Option<T>
where &'a Self: HasGet + HasBranches<T>,
T: HasPathSegment + 'a { ... }
}
Expand description
This is an API trait for getting branches by their path segments.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.