Trait Intersect

Source
pub trait Intersect<Other: HList>: HList {
    type Output: HList;
}
Expand description

Checked intersection of two sorted HLists.

This trait assumes Self and Other are SortedHLists, and yields an HList of their intersection. It does not re-check sortedness of the result (to avoid deep recursion in the compiler).

Required Associated Types§

Source

type Output: HList

Intersection of two sorted lists. Must itself be an HList.

Implementors§

Source§

impl<LA, LB> Intersect<LB> for LA