Skip to main content

GroupedBuilder

Struct GroupedBuilder 

Source
pub struct GroupedBuilder<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc>
where Sc: Score,
{ /* private fields */ }

Implementations§

Source§

impl<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc> GroupedBuilder<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc>
where S: Send + Sync + 'static, Out: Send + Sync + 'static, K: Eq + Hash + Send + Sync + 'static, Src: Source<S, Out>, F: UniFilter<S, Out>, KF: Fn(&Out) -> K + Send + Sync, C: for<'i> Collector<&'i Out, 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, ) -> Grouped<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc>

Auto Trait Implementations§

§

impl<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc> Freeze for GroupedBuilder<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc>
where Src: Freeze, F: Freeze, KF: Freeze, C: Freeze, W: Freeze, PhantomData<(fn() -> S, fn() -> Out, fn() -> K, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: Freeze,

§

impl<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc> RefUnwindSafe for GroupedBuilder<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc>
where Src: RefUnwindSafe, F: RefUnwindSafe, KF: RefUnwindSafe, C: RefUnwindSafe, W: RefUnwindSafe, PhantomData<(fn() -> S, fn() -> Out, fn() -> K, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: RefUnwindSafe,

§

impl<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc> Send for GroupedBuilder<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc>
where Src: Send, F: Send, KF: Send, C: Send, W: Send, PhantomData<(fn() -> S, fn() -> Out, fn() -> K, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: Send,

§

impl<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc> Sync for GroupedBuilder<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc>
where Src: Sync, F: Sync, KF: Sync, C: Sync, W: Sync, PhantomData<(fn() -> S, fn() -> Out, fn() -> K, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: Sync,

§

impl<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc> Unpin for GroupedBuilder<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc>
where Src: Unpin, F: Unpin, KF: Unpin, C: Unpin, W: Unpin, PhantomData<(fn() -> S, fn() -> Out, fn() -> K, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: Unpin,

§

impl<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc> UnsafeUnpin for GroupedBuilder<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc>
where Src: UnsafeUnpin, F: UnsafeUnpin, KF: UnsafeUnpin, C: UnsafeUnpin, W: UnsafeUnpin, PhantomData<(fn() -> S, fn() -> Out, fn() -> K, fn() -> V, fn() -> R, fn() -> Acc, fn() -> Sc)>: UnsafeUnpin,

§

impl<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc> UnwindSafe for GroupedBuilder<S, Out, K, Src, F, KF, C, V, R, Acc, W, Sc>
where Src: UnwindSafe, F: UnwindSafe, KF: UnwindSafe, C: UnwindSafe, W: UnwindSafe, PhantomData<(fn() -> S, fn() -> Out, 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.