Module epaint::mutex

source ·
Expand description

Helper module that adds extra checks when the deadlock_detection feature is turned on.

Modules§

Structs§

  • Provides interior mutability.
  • Provides interior mutability.

Type Aliases§

  • The lock you get from Mutex. An RAII implementation of a “scoped lock” of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.
  • The lock you get from RwLock::read. An RAII read lock guard returned by RwLockReadGuard::map, which can point to a subfield of the protected data.
  • The lock you get from RwLock::write. An RAII write lock guard returned by RwLockWriteGuard::map, which can point to a subfield of the protected data.