Function parking_lot::const_fair_mutex [−][src]
pub const fn const_fair_mutex<T>(val: T) -> FairMutex<T>
Expand description
Creates a new fair mutex in an unlocked state ready for use.
This allows creating a fair mutex in a constant context on stable Rust.