pub trait Satisfies<T> {
// Required method
fn satisfies(&self, item: &T) -> bool;
}Expand description
A trait for types that can be checked for satisfaction against another type.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".