Trait rtic::mutex::prelude::TupleExt13
source · pub trait TupleExt13 {
Show 14 associated items
type T1;
type T2;
type T3;
type T4;
type T5;
type T6;
type T7;
type T8;
type T9;
type T10;
type T11;
type T12;
type T13;
// Required method
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, &mut Self::T13) -> R,
) -> R;
}
Expand description
Auto-generated tuple implementation, see Mutex
for details.
Required Associated Types§
Required Methods§
sourcefn 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, &mut Self::T13) -> R,
) -> R
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, &mut Self::T13) -> R, ) -> R
Creates a critical section and grants temporary access to the protected data.
Object Safety§
This trait is not object safe.