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.
Required Associated Types
Required Methods
Provided Methods
Share the cached queue with other cached operation.