gix_features::threading

Function lock

Source
pub fn lock<T>(v: &Mutable<T>) -> MutexGuard<'_, T>
Available on crate feature parallel only.
Expand description

Get a mutable reference through a Mutable for read-write access.