pub trait Difference<T> {
// Required method
fn difference(self, other: T) -> T;
}Required Methods§
fn difference(self, other: T) -> T
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".