pub trait CachedOperation<I, Q: QueueCapAtLeast<LEN, Item = I>, const LEN: usize> {
    type Output;
    fn call(&mut self, q: &Q, new_period: bool, x: &I) -> Self::Output;

    fn share_with<P>(self, op: P) -> Shared<I, Self, P>
    where
        P: CachedOperation<I, Q, LEN>,
        Self: Sized
, { ... } }
Expand description

Tumbling operations that apply on the cached inputs.

Associated Types

The output type.

Required methods

Call.

Provided methods

Share the cached queue with other cached operation.

Implementors