Skip to main content

ExistsConstraintBuilder

Struct ExistsConstraintBuilder 

Source
pub struct ExistsConstraintBuilder<S, A, L, R, C, W, Sc>
where C: CompileCondition, Sc: Score,
{ /* private fields */ }

Implementations§

Source§

impl<S, A, L, R, C, W, Sc> ExistsConstraintBuilder<S, A, L, R, C, W, Sc>
where S: Send + Sync + 'static, A: 'static, for<'a> L: Operator<S> + Operator<S, View<'a> = Leaf<'a, A>>, R: Operator<S>, C: CompileCondition + 'static, for<'a> C::Plan: IndexedPlan + 'static + ExecutablePlan<L::View<'a>, R::View<'a>>, W: for<'a> Fn(&S, &Leaf<'a, A>) -> Sc + Send + Sync, Sc: Score + 'static,

Source

pub fn named( self, name: &str, ) -> OperatorTerminal<S, ExistenceNode<S, L, R, C::Plan>, impl for<'a> Fn(&S, &L::View<'a>) -> Sc + Send + Sync, Sc>

Trait Implementations§

Source§

impl<S, A, L, R, C, W, Sc: Score> Debug for ExistsConstraintBuilder<S, A, L, R, C, W, Sc>
where C: CompileCondition,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<S, A, L, R, C, W, Sc> Freeze for ExistsConstraintBuilder<S, A, L, R, C, W, Sc>
where L: Freeze, R: Freeze, C: Freeze, W: Freeze, PhantomData<(fn() -> S, fn() -> A, fn() -> Sc)>: Freeze,

§

impl<S, A, L, R, C, W, Sc> RefUnwindSafe for ExistsConstraintBuilder<S, A, L, R, C, W, Sc>
where L: RefUnwindSafe, R: RefUnwindSafe, C: RefUnwindSafe, W: RefUnwindSafe, PhantomData<(fn() -> S, fn() -> A, fn() -> Sc)>: RefUnwindSafe,

§

impl<S, A, L, R, C, W, Sc> Send for ExistsConstraintBuilder<S, A, L, R, C, W, Sc>
where L: Send, R: Send, C: Send, W: Send, PhantomData<(fn() -> S, fn() -> A, fn() -> Sc)>: Send,

§

impl<S, A, L, R, C, W, Sc> Sync for ExistsConstraintBuilder<S, A, L, R, C, W, Sc>
where L: Sync, R: Sync, C: Sync, W: Sync, PhantomData<(fn() -> S, fn() -> A, fn() -> Sc)>: Sync,

§

impl<S, A, L, R, C, W, Sc> Unpin for ExistsConstraintBuilder<S, A, L, R, C, W, Sc>
where L: Unpin, R: Unpin, C: Unpin, W: Unpin, PhantomData<(fn() -> S, fn() -> A, fn() -> Sc)>: Unpin,

§

impl<S, A, L, R, C, W, Sc> UnsafeUnpin for ExistsConstraintBuilder<S, A, L, R, C, W, Sc>
where L: UnsafeUnpin, R: UnsafeUnpin, C: UnsafeUnpin, W: UnsafeUnpin, PhantomData<(fn() -> S, fn() -> A, fn() -> Sc)>: UnsafeUnpin,

§

impl<S, A, L, R, C, W, Sc> UnwindSafe for ExistsConstraintBuilder<S, A, L, R, C, W, Sc>
where L: UnwindSafe, R: UnwindSafe, C: UnwindSafe, W: UnwindSafe, PhantomData<(fn() -> S, fn() -> A, fn() -> Sc)>: 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.