mirror of
https://github.com/bevyengine/bevy
synced 2024-12-25 12:33:07 +00:00
38568ccf1f
# Objective The type `SyncCell<T>` (added in #5483) is used to force any wrapped type to be `Sync`, by only allowing exclusive access to the wrapped value. This restriction is unnecessary for types which are already `Sync`. --- ## Changelog + Added the method `read` to `SyncCell`, which allows shared access to values that already implement the `Sync` trait. |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |