Trait safe_mix::TripletMix[][src]

pub trait TripletMix {
    type Item;
    fn triplet_mix(self) -> Self::Item;
}

The mixed trait for mixing a sequence.

Associated Types

type Item[src]

The items in the sequence and simultaneously the return of the mixing.

Loading content...

Required methods

fn triplet_mix(self) -> Self::Item[src]

The output of the mixing algorithm on the sequence. Items in the sequence beyond the largest power of three that fits within the the sequence up until 3 ** MAX_DEPTH are ignored.

Loading content...

Implementors

impl<I, T> TripletMix for I where
    I: Iterator<Item = T>,
    T: BitAnd<Output = T> + BitOr<Output = T> + Default + Copy
[src]

type Item = T

Loading content...