pub trait ShellMixerMeterSpecification {
const ANALOG_INPUT_COUNT: usize;
const DIGITAL_INPUT_COUNT: usize;
const STREAM_INPUT_COUNT: usize = 2usize;
const MAIN_OUTPUT_COUNT: usize = 2usize;
const MAX_STREAM_INPUT_COUNT: usize = 8usize;
const MAX_ANALOG_INPUT_COUNT: usize = 4usize;
const MAX_DIGITAL_INPUT_COUNT: usize = 8usize;
// Provided method
fn create_meter_state() -> ShellMixerMeter { ... }
}
Expand description
Specification for meter function of mixer.
Required Associated Constants§
const ANALOG_INPUT_COUNT: usize
const DIGITAL_INPUT_COUNT: usize
Provided Associated Constants§
const STREAM_INPUT_COUNT: usize = 2usize
const MAIN_OUTPUT_COUNT: usize = 2usize
const MAX_STREAM_INPUT_COUNT: usize = 8usize
const MAX_ANALOG_INPUT_COUNT: usize = 4usize
const MAX_DIGITAL_INPUT_COUNT: usize = 8usize
Provided Methods§
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.