pub trait Deduplicate {
// Required method
fn deduplicate(self) -> Self;
}
Required Methods§
fn deduplicate(self) -> Self
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.
Implementations on Foreign Types§
Source§impl<T> Deduplicate for Vec<T>
impl<T> Deduplicate for Vec<T>
Source§fn deduplicate(self) -> Vec<T>
fn deduplicate(self) -> Vec<T>
Remove duplicates of v