Trait signalo_traits::source::Source[][src]

pub trait Source: Sized {
    type Output;
    fn source(&mut self) -> Option<Self::Output>;
}
Expand description

A source returns the next signal value each time it is called. When there is no more data, it just returns None.

Associated Types

The source’s output type.

Required methods

Produces the next value in the stream of values.

Implementors