pub trait Unique<T> {
// Required method
fn unique<P>(&mut self, pred: P) -> Option<T>
where P: FnMut(&T) -> bool;
}Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.