Skip to main content

Module traits

Module traits 

Source
Expand description

Core traits for the Rill ecosystem

§Core Traits for Rill

This module defines the fundamental traits that form the backbone of the Rill ecosystem.

Re-exports§

pub use action::*;
pub use algorithm::*;
pub use buffer_view::*;
pub use node::*;
pub use param::*;
pub use parameter_write::*;
pub use port::*;
pub use processable::*;
pub use rack::*;
pub use router::*;

Modules§

action
Action trait and types for node‑level commands. Deprecated — use the algorithm module instead.
algorithm
Algorithm trait and action contexts. Algorithm trait — the unified per-port and DSP processing primitive.
buffer_view
BufferView trait for backend-specific ring buffer access.
node
Core node trait (Node) and related types. Core node traits for the Rill ecosystem
param
Parameter types and IDs (ParameterId, ParamValue, ParamType, etc.). Parameter handling for signal nodes
parameter_write
ParameterWrite trait — polymorphic control interface for DSP engines. ParameterWrite — polymorphic control interface for DSP engines.
port
Port types and identifiers (PortId, PortDirection, PortType). Port types and identifiers for the Rill ecosystem
prelude
Prelude module for convenient importing of common traits and types
processable
Processing traits (Processable, Processor, Source, Sink). Processable trait and NodeVariant.
rack
Rack archetype — modular processing unit (Eurorack case).
router
Router trait for signal fan‑out / fan‑in.

Structs§

ErrorContext
Additional context for errors

Enums§

ClockError
Errors that can occur during clock operations
ConnectionError
Errors that can occur during graph connections
ParameterError
Errors that can occur during parameter operations
PortError
Errors that can occur during port operations
ProcessError
Main error type for signal processing operations

Constants§

DEFAULT_BLOCK_SIZE
Default block size for signal processing

Traits§

AsAny
Helper trait for downcasting to concrete types
IntoParamValue
Trait for types that can be converted to/from ParamValue

Type Aliases§

ClockResult
Result type for clock operations
ConnectionResult
Result type for connection operations
ControlValue
Type alias for a control signal value
MonoBlock
Type alias for a mono signal block
ParameterResult
Result type for parameter operations
PortResult
Result type for port operations
ProcessResult
Result type for signal processing operations
StereoBlock
Type alias for a stereo signal block (left, right)