Trait itertools::merge_join::OrderingOrBool

source ·
pub trait OrderingOrBool<L, R> {
    type MergeResult;

    // Required methods
    fn left(left: L) -> Self::MergeResult;
    fn right(right: R) -> Self::MergeResult;
    fn merge(
        &mut self,
        left: L,
        right: R,
    ) -> (Option<Either<L, R>>, Self::MergeResult);
    fn size_hint(
        left: (usize, Option<usize>),
        right: (usize, Option<usize>),
    ) -> (usize, Option<usize>);
}

Required Associated Types§

Required Methods§

source

fn left(left: L) -> Self::MergeResult

source

fn right(right: R) -> Self::MergeResult

source

fn merge( &mut self, left: L, right: R, ) -> (Option<Either<L, R>>, Self::MergeResult)

source

fn size_hint( left: (usize, Option<usize>), right: (usize, Option<usize>), ) -> (usize, Option<usize>)

Object Safety§

This trait is not object safe.

Implementors§