Module egui::mutex[][src]

Expand description

Helper module that wraps some Mutex types with different implementations.

When the single_threaded feature is on the mutexes will panic when locked from different threads.

Structs

Provides interior mutability. Only thread-safe if the multi_threaded feature is enabled.

The lock you get from Mutex.

Provides interior mutability. Only thread-safe if the multi_threaded feature is enabled.

Type Definitions

RAII structure used to release the shared read access of a lock when dropped.

RAII structure used to release the exclusive write access of a lock when dropped.