fn limit<T>(
        self,
        and: T,
    ) -> ComponentScannerMap<
        ComponentScannerJoin<Self, T>,
        fn(<ComponentScannerJoin<Self, T> as ComponentScanner>::Item) -> Self::Item,
    >
    where
        Self: Sized,
        T: ComponentScanner,
    {
        fn fst<A, B>((i, _): (A, B)) -> A {
            i
        }

        ComponentScannerMap {
            scanner: ComponentScannerJoin(self, and),
            function: fst as fn((Self::Item, T::Item)) -> Self::Item,
        }
    }
/// Converts this ComponentScanner into one that only has values when the given scanner also
/// has a value.
Converts this ComponentScanner into one that only has values when the given scanner also
has a value.
Converts this ComponentScanner into one that only has values when the given scanner also has a value .
fn limit<T>(
        self,
        and: T,
    ) -> ComponentScannerMap<
        ComponentScannerJoin<Self, T>,
        fn(<ComponentScannerJoin<Self, T> as ComponentScanner>::Item) -> Self::Item,
    >
    where
        Self: Sized,
        T: ComponentScanner,
    {
        fn fst<A, B>((i, _): (A, B)) -> A {
            i
        }
        ComponentScannerMap {
            scanner: ComponentScannerJoin(self, and),
            function: fst as fn((Self::Item, T::Item)) -> Self::Item,
        }
    }
fn limit < T > ( self , and : T , ) -> ComponentScannerMap < ComponentScannerJoin < Self , T > , fn ( < ComponentScannerJoin < Self , T > as ComponentScanner > :: Item ) -> Self :: Item , > where Self : Sized , T : ComponentScanner , { fn fst < A , B > ( ( i , _ ) : ( A , B ) ) -> A { i } ComponentScannerMap { scanner : ComponentScannerJoin ( self , and ) , function : fst as fn ( ( Self :: Item , T :: Item ) ) -> Self :: Item , } }
Converts this ComponentScanner into one that only has values when the given scanner also
has a value.
Converts this ComponentScanner into one that only has values when the given scanner also has a value .
self
and
T
self
and
T