Trait rtic::mutex_prelude::TupleExt09 [−][src]
Auto-generated tuple implementation, see Mutex
for details.
Associated Types
type T1
[src]
Data protected by the mutex.
type T2
[src]
Data protected by the mutex.
type T3
[src]
Data protected by the mutex.
type T4
[src]
Data protected by the mutex.
type T5
[src]
Data protected by the mutex.
type T6
[src]
Data protected by the mutex.
type T7
[src]
Data protected by the mutex.
type T8
[src]
Data protected by the mutex.
type T9
[src]
Data protected by the mutex.
Required methods
pub 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) -> R
) -> R
[src]
&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) -> R
) -> R
Creates a critical section and grants temporary access to the protected data.
Implementors
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9> TupleExt09 for (T1, T2, T3, T4, T5, T6, T7, T8, T9) where
T1: Mutex,
T2: Mutex,
T3: Mutex,
T4: Mutex,
T5: Mutex,
T6: Mutex,
T7: Mutex,
T8: Mutex,
T9: Mutex,
[src]
T1: Mutex,
T2: Mutex,
T3: Mutex,
T4: Mutex,
T5: Mutex,
T6: Mutex,
T7: Mutex,
T8: Mutex,
T9: Mutex,
type T1 = <T1 as Mutex>::T
type T2 = <T2 as Mutex>::T
type T3 = <T3 as Mutex>::T
type T4 = <T4 as Mutex>::T
type T5 = <T5 as Mutex>::T
type T6 = <T6 as Mutex>::T
type T7 = <T7 as Mutex>::T
type T8 = <T8 as Mutex>::T
type T9 = <T9 as Mutex>::T
pub fn lock<R>(
&mut self,
f: impl FnOnce(&mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T1, &mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T2, &mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T3, &mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T4, &mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T5, &mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T6, &mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T7, &mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T8, &mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T9) -> R
) -> R
[src]
&mut self,
f: impl FnOnce(&mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T1, &mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T2, &mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T3, &mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T4, &mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T5, &mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T6, &mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T7, &mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T8, &mut <(T1, T2, T3, T4, T5, T6, T7, T8, T9) as TupleExt09>::T9) -> R
) -> R