Trait ShellMixerStateSpecification

Source
pub trait ShellMixerStateSpecification {
    const MONITOR_SRC_MAP: [Option<ShellMixerMonitorSrcType>; 10];

    // Provided methods
    fn analog_input_pair_count() -> usize { ... }
    fn digital_input_pair_count() -> usize { ... }
    fn create_mixer_state() -> ShellMixerState { ... }
}
Expand description

The trait for specification of mixer.

Required Associated Constants§

Source

const MONITOR_SRC_MAP: [Option<ShellMixerMonitorSrcType>; 10]

The sources of monitor.

Provided Methods§

Source

fn analog_input_pair_count() -> usize

The number of analog input pairs.

Source

fn digital_input_pair_count() -> usize

The number of digital input pairs.

Source

fn create_mixer_state() -> ShellMixerState

Instantiate state of mixer.

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.

Implementors§