[][src]Trait siraph::Node

pub trait Node {
    pub fn register(&self, r: &mut Register);
pub fn process(&mut self);
pub fn reset(&mut self); }

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)[src]

Processes the inputs of this node to write its outputs.

pub fn reset(&mut self)[src]

Resets the node in its initial state.

Loading content...

Implementors

impl Node for Pulse[src]

impl<I> Node for FromIter<I> where
    I: Iterator,
    I::Item: 'static + Clone
[src]

impl<T, U, F> Node for Map<T, U, F> where
    T: 'static + Clone,
    U: 'static,
    F: FnMut(T) -> U, 
[src]

impl<T: 'static + Clone> Node for Const<T>[src]

impl<T: 'static + Clone> Node for Hold<T>[src]

impl<T: 'static + Clone> Node for Offset<T>[src]

impl<T: 'static + Clone> Node for ReplaceNone<T>[src]

Loading content...