pub trait Operation<I, T> {
    type Output<'out>
       where T: 'out;

    // Required method
    fn step<'a>(&mut self, w: QueueMut<'a, T>, x: I) -> Self::Output<'a>;
}
Expand description

Operation.

Required Associated Types§

source

type Output<'out> where T: 'out

Output.

Required Methods§

source

fn step<'a>(&mut self, w: QueueMut<'a, T>, x: I) -> Self::Output<'a>

Step.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<I, T, F> Operation<I, T> for Fwhere F: for<'a> FnMut(QueueMut<'a, T>, I),

§

type Output<'out> = () where T: 'out

source§

impl<I, T, P> Operation<I, T> for Op<P, false>where I: Tickable, P: PeriodicOp<I, T>,

§

type Output<'out> = TickValue<QueueRef<'out, T>> where T: 'out

source§

impl<I, T, P> Operation<I, T> for Op<P, true>where I: Tickable, T: Clone, P: PeriodicOp<I, T>,

§

type Output<'out> = TickValue<QueueRef<'out, T>> where T: 'out