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