Trait audio::LinearChannel

source ·
pub trait LinearChannel: Channel {
    // Required method
    fn as_linear_channel(&self) -> &[Self::Sample];
}
Expand description

Traits for linear channels.

Required Methods§

source

fn as_linear_channel(&self) -> &[Self::Sample]

Access the linear channel.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> LinearChannel for LinearChannel<'_, T>
where T: Copy,

source§

impl<T> LinearChannel for LinearChannelMut<'_, T>
where T: Copy,