pub trait AdcChannels {
type Adc: Adc;
type Iterator<'a>: Iterator<Item = (adc_channel_t, adc_atten_t)>
where Self: 'a;
// Required method
fn iter(&self) -> Self::Iterator<'_>;
}
Required Associated Types§
type Adc: Adc
type Iterator<'a>: Iterator<Item = (adc_channel_t, adc_atten_t)> where Self: 'a
Required 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.