Skip to main content

GroupedBuilder

Struct GroupedBuilder 

Source
pub struct GroupedBuilder<S, A, B, JK, GK, EA, EB, KA, KB, F, GF, C, V, R, Acc, W, Sc>
where Sc: Score,
{ /* private fields */ }

Implementations§

Source§

impl<S, A, B, JK, GK, EA, EB, KA, KB, F, GF, C, V, R, Acc, W, Sc> GroupedBuilder<S, A, B, JK, GK, EA, EB, KA, KB, F, GF, C, V, R, Acc, W, Sc>
where S: Send + Sync + 'static, A: Clone + Send + Sync + 'static, B: Clone + Send + Sync + 'static, JK: Eq + Hash + Clone + Send + Sync + 'static, GK: Eq + Hash + Clone + Send + Sync + 'static, EA: CollectionExtract<S, Item = A> + Send + Sync + 'static, EB: CollectionExtract<S, Item = B> + Send + Sync + 'static, KA: Fn(&A) -> JK + Send + Sync + 'static, KB: Fn(&B) -> JK + Send + Sync + 'static, F: BiFilter<S, A, B>, GF: Fn(&A, &B) -> GK + Send + Sync, C: for<'i> Collector<(&'i A, &'i B), 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(&GK, &R) -> Sc + Send + Sync, Sc: Score + 'static,

Source

pub fn named( self, name: &str, ) -> Grouped<S, A, B, JK, GK, EA, EB, KA, KB, impl Fn(&S, &A, &B, usize, usize) -> bool + Send + Sync, GF, C, V, R, Acc, W, Sc>

Auto Trait Implementations§

§

impl<S, A, B, JK, GK, EA, EB, KA, KB, F, GF, C, V, R, Acc, W, Sc> Freeze for GroupedBuilder<S, A, B, JK, GK, EA, EB, KA, KB, F, GF, C, V, R, Acc, W, Sc>
where EA: Freeze, EB: Freeze, KA: Freeze, KB: Freeze, F: Freeze, GF: Freeze, C: Freeze, W: Freeze, PhantomData<(fn() -> S, fn() -> A, fn() -> B, fn() -> JK, fn() -> GK, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: Freeze,

§

impl<S, A, B, JK, GK, EA, EB, KA, KB, F, GF, C, V, R, Acc, W, Sc> RefUnwindSafe for GroupedBuilder<S, A, B, JK, GK, EA, EB, KA, KB, F, GF, C, V, R, Acc, W, Sc>
where EA: RefUnwindSafe, EB: RefUnwindSafe, KA: RefUnwindSafe, KB: RefUnwindSafe, F: RefUnwindSafe, GF: RefUnwindSafe, C: RefUnwindSafe, W: RefUnwindSafe, PhantomData<(fn() -> S, fn() -> A, fn() -> B, fn() -> JK, fn() -> GK, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: RefUnwindSafe,

§

impl<S, A, B, JK, GK, EA, EB, KA, KB, F, GF, C, V, R, Acc, W, Sc> Send for GroupedBuilder<S, A, B, JK, GK, EA, EB, KA, KB, F, GF, C, V, R, Acc, W, Sc>
where EA: Send, EB: Send, KA: Send, KB: Send, F: Send, GF: Send, C: Send, W: Send, PhantomData<(fn() -> S, fn() -> A, fn() -> B, fn() -> JK, fn() -> GK, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: Send,

§

impl<S, A, B, JK, GK, EA, EB, KA, KB, F, GF, C, V, R, Acc, W, Sc> Sync for GroupedBuilder<S, A, B, JK, GK, EA, EB, KA, KB, F, GF, C, V, R, Acc, W, Sc>
where EA: Sync, EB: Sync, KA: Sync, KB: Sync, F: Sync, GF: Sync, C: Sync, W: Sync, PhantomData<(fn() -> S, fn() -> A, fn() -> B, fn() -> JK, fn() -> GK, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: Sync,

§

impl<S, A, B, JK, GK, EA, EB, KA, KB, F, GF, C, V, R, Acc, W, Sc> Unpin for GroupedBuilder<S, A, B, JK, GK, EA, EB, KA, KB, F, GF, C, V, R, Acc, W, Sc>
where EA: Unpin, EB: Unpin, KA: Unpin, KB: Unpin, F: Unpin, GF: Unpin, C: Unpin, W: Unpin, PhantomData<(fn() -> S, fn() -> A, fn() -> B, fn() -> JK, fn() -> GK, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: Unpin,

§

impl<S, A, B, JK, GK, EA, EB, KA, KB, F, GF, C, V, R, Acc, W, Sc> UnsafeUnpin for GroupedBuilder<S, A, B, JK, GK, EA, EB, KA, KB, F, GF, C, V, R, Acc, W, Sc>
where EA: UnsafeUnpin, EB: UnsafeUnpin, KA: UnsafeUnpin, KB: UnsafeUnpin, F: UnsafeUnpin, GF: UnsafeUnpin, C: UnsafeUnpin, W: UnsafeUnpin, PhantomData<(fn() -> S, fn() -> A, fn() -> B, fn() -> JK, fn() -> GK, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: UnsafeUnpin,

§

impl<S, A, B, JK, GK, EA, EB, KA, KB, F, GF, C, V, R, Acc, W, Sc> UnwindSafe for GroupedBuilder<S, A, B, JK, GK, EA, EB, KA, KB, F, GF, C, V, R, Acc, W, Sc>
where EA: UnwindSafe, EB: UnwindSafe, KA: UnwindSafe, KB: UnwindSafe, F: UnwindSafe, GF: UnwindSafe, C: UnwindSafe, W: UnwindSafe, PhantomData<(fn() -> S, fn() -> A, fn() -> B, fn() -> JK, fn() -> GK, 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.