Trait discrimination::discriminator::Discriminator [] [src]

pub trait Discriminator<'a, K: 'a> {
    fn discriminate_sorted<V: 'a, I>(
        &'a self,
        pairs: I
    ) -> DiscriminateSorted<'a, K, V>
    where
        I: IntoIterator,
        I::Item: Into<(K, V)>,
        I::IntoIter: DoubleEndedIterator + 'a
; fn by_ref(&'a self) -> &'a Self { ... } fn invert(self) -> Invert<Self>
    where
        Self: Sized
, { ... } fn map_key<J: 'a, F>(self, f: F) -> Map<F, Self>
    where
        Self: Sized,
        F: Fn(J) -> K
, { ... } fn sum_left<J: 'a, D>(self, other: D) -> Sum<Self, D>
    where
        Self: Sized,
        D: Discriminator<'a, J>
, { ... } fn sum_right<J: 'a, D>(self, other: D) -> Sum<Self, D>
    where
        Self: Sized,
        D: Discriminator<'a, J>
, { ... } fn product_left<J: 'a, D>(self, other: D) -> Product<Self, D>
    where
        Self: Sized,
        D: Discriminator<'a, J>
, { ... } fn product_right<J: 'a, D>(self, other: D) -> Product<Self, D>
    where
        Self: Sized,
        D: Discriminator<'a, J>
, { ... } }

Required Methods

Provided Methods

Implementors