Skip to main content

AndJoiner

Struct AndJoiner 

Source
pub struct AndJoiner<J1, J2> { /* private fields */ }

Implementations§

Source§

impl<J1, J2> AndJoiner<J1, J2>

Source

pub fn new(first: J1, second: J2) -> Self

Source

pub fn into_parts(self) -> (J1, J2)

Source

pub fn and<J>(self, other: J) -> AndJoiner<Self, J>

Compose without prematurely binding a borrowed row lifetime.

Trait Implementations§

Source§

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

Source§

fn matches(&self, a: &A, b: &B) -> bool

Source§

fn and<J>(self, other: J) -> AndJoiner<Self, J>
where Self: Sized, J: Joiner<A, B>,

Source§

impl<Row, C, J1, J2> PlannedCondition<Row, C> for AndJoiner<J1, J2>
where J1: PlannedCondition<Row, C> + Joiner<Row, C>, J2: PlannedCondition<Row, C> + Joiner<Row, C>,

Source§

const STRATEGY: Strategy

Source§

fn check(&self, row: &Row, c: &C) -> bool

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§

fn into_view_plan(self) -> Self::ViewPlan

Auto Trait Implementations§

§

impl<J1, J2> Freeze for AndJoiner<J1, J2>
where J1: Freeze, J2: Freeze,

§

impl<J1, J2> RefUnwindSafe for AndJoiner<J1, J2>

§

impl<J1, J2> Send for AndJoiner<J1, J2>
where J1: Send, J2: Send,

§

impl<J1, J2> Sync for AndJoiner<J1, J2>
where J1: Sync, J2: Sync,

§

impl<J1, J2> Unpin for AndJoiner<J1, J2>
where J1: Unpin, J2: Unpin,

§

impl<J1, J2> UnsafeUnpin for AndJoiner<J1, J2>
where J1: UnsafeUnpin, J2: UnsafeUnpin,

§

impl<J1, J2> UnwindSafe for AndJoiner<J1, J2>
where J1: UnwindSafe, J2: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.