pub trait TickedOperatorExt<I: Tickable>: Operator<I>where
    <Self as Operator<I>>::Output: Tickable,{
    // Provided methods
    fn facet_t<P2: Operator<I>>(self, other: P2) -> Facet<I, Self, P2>
       where Self: Sized,
             <P2 as Operator<I>>::Output: Tickable { ... }
    fn map_t<O, F>(self, f: F) -> Then<I, Self, Map<F>>
       where Self: Sized,
             F: FnMut(<Self::Output as Tickable>::Value) -> O { ... }
}
Expand description

Ticked operator.

Provided Methods§

source

fn facet_t<P2: Operator<I>>(self, other: P2) -> Facet<I, Self, P2>where Self: Sized, <P2 as Operator<I>>::Output: Tickable,

Combine with the other tick operator to get a facet operator that keep the Tick unchanged.

source

fn map_t<O, F>(self, f: F) -> Then<I, Self, Map<F>>where Self: Sized, F: FnMut(<Self::Output as Tickable>::Value) -> O,

Transform the value of the output but keep the Tick unchanged.

Implementors§

source§

impl<P, I: Tickable> TickedOperatorExt<I> for Pwhere P: Operator<I>, <P as Operator<I>>::Output: Tickable,