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
algorithmmodule 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§
- Error
Context - Additional context for errors
Enums§
- Clock
Error - Errors that can occur during clock operations
- Connection
Error - Errors that can occur during graph connections
- Parameter
Error - Errors that can occur during parameter operations
- Port
Error - Errors that can occur during port operations
- Process
Error - 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
- Into
Param Value - Trait for types that can be converted to/from
ParamValue
Type Aliases§
- Clock
Result - Result type for clock operations
- Connection
Result - Result type for connection operations
- Control
Value - Type alias for a control signal value
- Mono
Block - Type alias for a mono signal block
- Parameter
Result - Result type for parameter operations
- Port
Result - Result type for port operations
- Process
Result - Result type for signal processing operations
- Stereo
Block - Type alias for a stereo signal block (left, right)