pub trait TupleExt01 {
type T1;
// Required method
fn lock<R>(&mut self, f: impl FnOnce(&mut Self::T1) -> R) -> R;
}
Expand description
Auto-generated tuple implementation, see Mutex
for details.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.