[−][src]Function parking_lot::const_rwlock
pub const fn const_rwlock<T>(val: T) -> RwLock<T>
Creates a new instance of an RwLock<T>
which is unlocked.
This allows creating a RwLock<T>
in a constant context on stable Rust.
pub const fn const_rwlock<T>(val: T) -> RwLock<T>
Creates a new instance of an RwLock<T>
which is unlocked.
This allows creating a RwLock<T>
in a constant context on stable Rust.