pub trait Joiner<A, B>: Send + Sync {
// Required method
fn matches(&self, a: &A, b: &B) -> bool;
// Provided method
fn and<J>(self, other: J) -> AndJoiner<Self, J>
where Self: Sized,
J: Joiner<A, B> { ... }
}Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".