Trait gantz::node::State [−][src]
pub trait State: Any + 'static { fn n_outlets(&self) -> u32; fn n_inlets(&self) -> u32; fn proc_inlet_at_index(&mut self, _: Inlet, incoming: &Any); fn proc_outlet_at_index(&mut self, _: Outlet) -> &Any; fn outlet_ref(&self, _: Outlet) -> &Any; }
Implemented for nodes, representing the state.
Required Methods
fn n_outlets(&self) -> u32
The number of outlets on the node.
fn n_inlets(&self) -> u32
The number of inlets on the node.
fn proc_inlet_at_index(&mut self, _: Inlet, incoming: &Any)
Process the given incoming data for the inlet.
fn proc_outlet_at_index(&mut self, _: Outlet) -> &Any
Process and prepare the outlet for the outlet at the given index.
fn outlet_ref(&self, _: Outlet) -> &Any
A reference to the current outlet value.
Implementations on Foreign Types
impl State for Box<State>
[src]
impl State for Box<State>