Skip to main content

ToViewPlan

Trait ToViewPlan 

Source
pub trait ToViewPlan<A, B> {
    type ViewPlan;

    // Required method
    fn into_view_plan(self) -> Self::ViewPlan;
}

Required Associated Types§

Required Methods§

Source

fn into_view_plan(self) -> Self::ViewPlan

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<A, B, J1, J2> ToViewPlan<A, B> for AndJoiner<J1, J2>
where J1: ToViewPlan<A, B>, J2: ToViewPlan<A, B>,

Source§

type ViewPlan = AndJoiner<<J1 as ToViewPlan<A, B>>::ViewPlan, <J2 as ToViewPlan<A, B>>::ViewPlan>

Source§

impl<A, B, K, KA, KB, Mode> ToViewPlan<A, B> for EqualJoiner<KA, KB, K, Mode>
where K: Eq + Hash + Clone, KA: Fn(&A) -> K + Send + Sync, KB: Fn(&B) -> K + Send + Sync,

Source§

impl<A, B, K, KA, KB> ToViewPlan<A, B> for GreaterThanJoiner<KA, KB, K>
where K: Ord + Clone, KA: Fn(&A) -> K + Send + Sync, KB: Fn(&B) -> K + Send + Sync,

Source§

type ViewPlan = ViewComparisonPlan<K, KA, KB, false, false>

Source§

impl<A, B, K, KA, KB> ToViewPlan<A, B> for GreaterThanOrEqualJoiner<KA, KB, K>
where K: Ord + Clone, KA: Fn(&A) -> K + Send + Sync, KB: Fn(&B) -> K + Send + Sync,

Source§

type ViewPlan = ViewComparisonPlan<K, KA, KB, false, true>

Source§

impl<A, B, K, KA, KB> ToViewPlan<A, B> for LessThanJoiner<KA, KB, K>
where K: Ord + Clone, KA: Fn(&A) -> K + Send + Sync, KB: Fn(&B) -> K + Send + Sync,

Source§

type ViewPlan = ViewComparisonPlan<K, KA, KB, true, false>

Source§

impl<A, B, K, KA, KB> ToViewPlan<A, B> for LessThanOrEqualJoiner<KA, KB, K>
where K: Ord + Clone, KA: Fn(&A) -> K + Send + Sync, KB: Fn(&B) -> K + Send + Sync,

Source§

type ViewPlan = ViewComparisonPlan<K, KA, KB, true, true>

Source§

impl<A, B, K, SA, EA, SB, EBd> ToViewPlan<A, B> for OverlappingJoiner<SA, EA, SB, EBd, K>
where K: Ord + Clone, SA: Fn(&A) -> K + Send + Sync, EA: Fn(&A) -> K + Send + Sync, SB: Fn(&B) -> K + Send + Sync, EBd: Fn(&B) -> K + Send + Sync,

Source§

type ViewPlan = ViewOverlapPlan<K, SA, EA, SB, EBd>