Skip to main content

GroupedConstraintBuilder

Struct GroupedConstraintBuilder 

Source
pub struct GroupedConstraintBuilder<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc>
where Sc: Score,
{ /* private fields */ }

Implementations§

Source§

impl<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc> GroupedConstraintBuilder<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc>
where S: Send + Sync + 'static, A: Clone + Send + Sync + 'static, K: Clone + Eq + Hash + Send + Sync + 'static, E: CollectionExtract<S, Item = A>, Fi: UniFilter<S, A>, KF: Fn(&A) -> K + Send + Sync, C: for<'i> Collector<&'i A, Value = V, Result = R, Accumulator = Acc> + Send + Sync + 'static, V: Send + Sync + 'static, R: Send + Sync + 'static, Acc: Accumulator<V, R> + Send + Sync + 'static, W: Fn(&K, &R) -> Sc + Send + Sync, Sc: Score + 'static,

Source

pub fn named(self, name: &str) -> Uni<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc>

Trait Implementations§

Source§

impl<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc: Score> Debug for GroupedConstraintBuilder<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc> Freeze for GroupedConstraintBuilder<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc>
where E: Freeze, Fi: Freeze, KF: Freeze, C: Freeze, W: Freeze, PhantomData<(fn() -> S, fn() -> A, fn() -> K, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: Freeze,

§

impl<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc> RefUnwindSafe for GroupedConstraintBuilder<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc>
where E: RefUnwindSafe, Fi: RefUnwindSafe, KF: RefUnwindSafe, C: RefUnwindSafe, W: RefUnwindSafe, PhantomData<(fn() -> S, fn() -> A, fn() -> K, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: RefUnwindSafe,

§

impl<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc> Send for GroupedConstraintBuilder<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc>
where E: Send, Fi: Send, KF: Send, C: Send, W: Send, PhantomData<(fn() -> S, fn() -> A, fn() -> K, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: Send,

§

impl<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc> Sync for GroupedConstraintBuilder<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc>
where E: Sync, Fi: Sync, KF: Sync, C: Sync, W: Sync, PhantomData<(fn() -> S, fn() -> A, fn() -> K, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: Sync,

§

impl<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc> Unpin for GroupedConstraintBuilder<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc>
where E: Unpin, Fi: Unpin, KF: Unpin, C: Unpin, W: Unpin, PhantomData<(fn() -> S, fn() -> A, fn() -> K, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: Unpin,

§

impl<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc> UnsafeUnpin for GroupedConstraintBuilder<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc>
where E: UnsafeUnpin, Fi: UnsafeUnpin, KF: UnsafeUnpin, C: UnsafeUnpin, W: UnsafeUnpin, PhantomData<(fn() -> S, fn() -> A, fn() -> K, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: UnsafeUnpin,

§

impl<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc> UnwindSafe for GroupedConstraintBuilder<S, A, K, E, Fi, KF, C, V, R, Acc, W, Sc>
where E: UnwindSafe, Fi: UnwindSafe, KF: UnwindSafe, C: UnwindSafe, W: UnwindSafe, PhantomData<(fn() -> S, fn() -> A, fn() -> K, fn() -> V, fn() -> R, fn() -> Acc, 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.