Struct esp_idf_svc::hal::adc::ChainedAdcChannels

source ·
pub struct ChainedAdcChannels<F, S> { /* private fields */ }

Implementations§

source§

impl<F, S> ChainedAdcChannels<F, S>

source

pub fn chain<O>( self, other: O, ) -> ChainedAdcChannels<ChainedAdcChannels<F, S>, O>
where F: AdcChannels, S: AdcChannels<Adc = <F as AdcChannels>::Adc>, O: AdcChannels<Adc = <F as AdcChannels>::Adc>,

Trait Implementations§

source§

impl<F, S> AdcChannels for ChainedAdcChannels<F, S>
where F: AdcChannels, S: AdcChannels<Adc = <F as AdcChannels>::Adc>,

§

type Adc = <F as AdcChannels>::Adc

§

type Iterator<'a> = Chain<<F as AdcChannels>::Iterator<'a>, <S as AdcChannels>::Iterator<'a>> where ChainedAdcChannels<F, S>: 'a

source§

fn iter(&self) -> <ChainedAdcChannels<F, S> as AdcChannels>::Iterator<'_>

Auto Trait Implementations§

§

impl<F, S> Freeze for ChainedAdcChannels<F, S>
where F: Freeze, S: Freeze,

§

impl<F, S> RefUnwindSafe for ChainedAdcChannels<F, S>
where F: RefUnwindSafe, S: RefUnwindSafe,

§

impl<F, S> Send for ChainedAdcChannels<F, S>
where F: Send, S: Send,

§

impl<F, S> Sync for ChainedAdcChannels<F, S>
where F: Sync, S: Sync,

§

impl<F, S> Unpin for ChainedAdcChannels<F, S>
where F: Unpin, S: Unpin,

§

impl<F, S> UnwindSafe for ChainedAdcChannels<F, S>
where F: UnwindSafe, S: UnwindSafe,

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.