std::sync::RW_LOCK_INIT [] [src]

pub const RW_LOCK_INIT: StaticRwLock = StaticRwLock {
    lock: sys::RWLOCK_INIT,
    poison: poison::FLAG_INIT,
}
Unstable

: may be merged with RwLock in the future

Constant initialization for a statically-initialized rwlock.