pub trait VecExt<T> {
// Required methods
fn push_unique(&mut self, value: T) -> Option<T>
where T: PartialEq;
fn try_push<R>(&mut self, value: R)
where R: Try<Output = T>;
}Required Methods§
fn push_unique(&mut self, value: T) -> Option<T>where
T: PartialEq,
fn try_push<R>(&mut self, value: R)where
R: Try<Output = T>,
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.