pub trait SetExt<T>: Sized {
// Required methods
fn split_first(self) -> Option<(T, Self)>;
fn union_with(self, other: Self) -> Self;
fn plus(self, other: T) -> Self;
}
Required Methods§
fn split_first(self) -> Option<(T, Self)>
fn union_with(self, other: Self) -> Self
fn plus(self, other: T) -> 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.