Trait esp32_hal::prelude::TupleExt12 [−]
pub trait TupleExt12 { type T1; type T2; type T3; type T4; type T5; type T6; type T7; type T8; type T9; type T10; type T11; type T12; fn lock<R>(
&mut self,
f: impl FnOnce(&mut Self::T1, &mut Self::T2, &mut Self::T3, &mut Self::T4, &mut Self::T5, &mut Self::T6, &mut Self::T7, &mut Self::T8, &mut Self::T9, &mut Self::T10, &mut Self::T11, &mut Self::T12) -> R
) -> R; }
Expand description
Auto-generated tuple implementation, see Mutex
for details.
Associated Types
type T1
type T1
Data protected by the mutex.
type T2
type T2
Data protected by the mutex.
type T3
type T3
Data protected by the mutex.
type T4
type T4
Data protected by the mutex.
type T5
type T5
Data protected by the mutex.
type T6
type T6
Data protected by the mutex.
type T7
type T7
Data protected by the mutex.
type T8
type T8
Data protected by the mutex.
type T9
type T9
Data protected by the mutex.
type T10
type T10
Data protected by the mutex.
type T11
type T11
Data protected by the mutex.
type T12
type T12
Data protected by the mutex.
Required methods
Creates a critical section and grants temporary access to the protected data.