Trait SetExt

Source
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§

Source

fn split_first(self) -> Option<(T, Self)>

Source

fn union_with(self, other: Self) -> Self

Source

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.

Implementors§

Source§

impl<T: Ord + Clone> SetExt<T> for Set<T>