Trait rtic::mutex_prelude::TupleExt29
source · pub trait TupleExt29 {
Show 30 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;
type T14;
type T15;
type T16;
type T17;
type T18;
type T19;
type T20;
type T21;
type T22;
type T23;
type T24;
type T25;
type T26;
type T27;
type T28;
type T29;
// 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, &mut Self::T14, &mut Self::T15, &mut Self::T16, &mut Self::T17, &mut Self::T18, &mut Self::T19, &mut Self::T20, &mut Self::T21, &mut Self::T22, &mut Self::T23, &mut Self::T24, &mut Self::T25, &mut Self::T26, &mut Self::T27, &mut Self::T28, &mut Self::T29) -> 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, &mut Self::T14, &mut Self::T15, &mut Self::T16, &mut Self::T17, &mut Self::T18, &mut Self::T19, &mut Self::T20, &mut Self::T21, &mut Self::T22, &mut Self::T23, &mut Self::T24, &mut Self::T25, &mut Self::T26, &mut Self::T27, &mut Self::T28, &mut Self::T29) -> 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, &mut Self::T14, &mut Self::T15, &mut Self::T16, &mut Self::T17, &mut Self::T18, &mut Self::T19, &mut Self::T20, &mut Self::T21, &mut Self::T22, &mut Self::T23, &mut Self::T24, &mut Self::T25, &mut Self::T26, &mut Self::T27, &mut Self::T28, &mut Self::T29) -> R, ) -> R
Creates a critical section and grants temporary access to the protected data.
Object Safety§
This trait is not object safe.