Module bones_ecs::atomic

source ·
Expand description

Atomic Refcell implmentation.

Atomic Refcells are from the atomic_refcell crate.

Modules

  • This module contains types that can be used to implement atomic borrowing.

Structs

  • A mutable memory location with dynamically checked borrow rules This type behaves mostly like core::cell::RefCell. The main difference is that this type uses atomic operations for borrowing. Thus allowing to use it in multi-threaded environment.
  • Wrapper for a borrowed AtomicCell that will released lock on drop.
  • Wrapper for mutably borrowed AtomicCell that will released lock on drop.