[−][src]Trait siraph::Node
Nodes are signal processing units. They take data from their inputs to and send it back through their outputs.
Required methods
pub fn register(&self, r: &mut Register)
[src]
Registers the inputs and outputs of a node. This function should do the same thing everytime it gets called.
pub fn process(&mut self, ctx: &Ctx)
[src]
Processes the inputs of this node to write its outputs.
pub fn reset(&mut self)
[src]
Resets the node in its initial state.
Implementors
impl<Ctx> Node<Ctx> for Pulse
[src]
pub fn register(&self, r: &mut Register)
[src]
pub fn process(&mut self, _ctx: &Ctx)
[src]
pub fn reset(&mut self)
[src]
impl<I, Ctx> Node<Ctx> for FromIter<I> where
I: Iterator,
I::Item: 'static + Clone,
[src]
I: Iterator,
I::Item: 'static + Clone,
pub fn register(&self, r: &mut Register)
[src]
pub fn process(&mut self, _ctx: &Ctx)
[src]
pub fn reset(&mut self)
[src]
impl<T, U, F, Ctx> Node<Ctx> for Map<T, U, F> where
T: 'static + Clone,
U: 'static,
F: FnMut(T) -> U,
[src]
T: 'static + Clone,
U: 'static,
F: FnMut(T) -> U,