pub trait ChannelCount {
type S: Sampleable;
// Required method
fn count() -> u8;
// Provided methods
fn format() -> pa_sample_format_t { ... }
fn sample_size() -> usize { ... }
}Required Associated Types§
type S: Sampleable
Required Methods§
Provided Methods§
fn format() -> pa_sample_format_t
fn sample_size() -> usize
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.