logo

Trait rtic_core::prelude::TupleExt01[][src]

pub trait TupleExt01 {
    type T1;
    fn lock<R>(&mut self, f: impl FnOnce(&mut Self::T1) -> R) -> R;
}
Expand description

Auto-generated tuple implementation, see Mutex for details.

Associated Types

Data protected by the mutex.

Required methods

Creates a critical section and grants temporary access to the protected data.

Implementations on Foreign Types

Implementors