Skip to main content

SinkNode

Trait SinkNode 

Source
pub trait SinkNode: AudioNode + Flushable { }
Expand description

A sink node: both an audio_core_bsd::AudioNode (so it can be scheduled in the graph) and Flushable (so the engine can drain it between cycles).

Any type implementing both supertraits is automatically a SinkNode.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> SinkNode for T
where T: AudioNode + Flushable,