pub trait LinearChannel: Channel {
// Required method
fn as_linear_channel(&self) -> &[Self::Sample];
}
Expand description
Traits for linear channels.
Required Methods§
Sourcefn as_linear_channel(&self) -> &[Self::Sample]
fn as_linear_channel(&self) -> &[Self::Sample]
Access the linear channel.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.