pub trait PredicateNameExt<Item: ?Sized>where
Self: Predicate<Item>,{
// Provided method
fn name(self, name: &'static str) -> NamePredicate<Self, Item>
where Self: Sized { ... }
}Expand description
Predicate extension that adds naming predicate expressions.
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".