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