[][src]Trait adapton::catalog::collections::SetIntro

pub trait SetIntro<Elm>: Debug + Hash + PartialEq + Eq + Clone + 'static {
    fn empty() -> Self;
fn add(_: Self, e: Elm) -> Self;
fn remove(_: Self, e: &Elm) -> Self;
fn union(_: Self, _: Self) -> Self;
fn inter(_: Self, _: Self) -> Self;
fn diff(_: Self, _: Self) -> Self; }

Required methods

fn empty() -> Self

fn add(_: Self, e: Elm) -> Self

fn remove(_: Self, e: &Elm) -> Self

fn union(_: Self, _: Self) -> Self

fn inter(_: Self, _: Self) -> Self

fn diff(_: Self, _: Self) -> Self

Loading content...

Implementors

impl<Elm, Map: MapIntro<Elm, ()> + MapElim<Elm, ()>> SetIntro<Elm> for Map[src]

Loading content...