Trait is_tree::traits::has_path_segment::HasPathSegment
source · pub trait HasPathSegment: KnowsPathSegment {
// Required method
fn path_segment(&self) -> &Self::PathSegment;
// Provided method
fn is(&self, identifier: impl PartialEq<Self::PathSegment>) -> bool { ... }
}
Required Methods§
fn path_segment(&self) -> &Self::PathSegment
Provided Methods§
fn is(&self, identifier: impl PartialEq<Self::PathSegment>) -> bool
Object Safety§
This trait is not object safe.