Expand description
Atomic boxes.
You can use Atomic and AtomicOption to access owned pointers to values atomically,
and determine whether smart pointers have to be stored in the atomic.
You can also implement your own smart pointer types using the Well trait.
Structs§
- Atomic
- Atomic potential well.
- Atomic
Option - Potentially empty atomic potential well.
- Potential
Atomic - Type-hoisted
Atomic. - Potential
Atomic Option - Type-hoisted
AtomicOption.
Traits§
- Kinetic
Well - Inverse trait for
PotentialWell. - Potential
Well - Potential well, representing a generic container.
- Strong
Potential Well PotentialWellthat always yieldsStrongWells.- Strong
Well - Smart pointer with direct access to its data.
- Weak
Potential Well PotentialWellthat always yieldsWeakWells.- Weak
Well - Smart pointer without direct access to its data.
- Well
- Smart pointer.
Type Aliases§
- Atomic
Arc alloc - Alias for
PotentialAtomic<T, Arc<()>> - Atomic
Box alloc - Alias for
PotentialAtomic<T, Box<()>> - Atomic
Option Arc alloc - Alias for
PotentialAtomicOption<T, Arc<()>> - Atomic
Option Box alloc - Alias for
PotentialAtomicOption<T, Box<()>> - Atomic
Option PinArc alloc - Alias for
PotentialAtomicOption<T, Pin<Arc<()>>> - Atomic
Option PinBox alloc - Alias for
PotentialAtomicOption<T, Pin<Box<()>>> - Atomic
Option PinRc alloc - Alias for
PotentialAtomicOption<T, Pin<Rc<()>>> - Atomic
Option Rc alloc - Alias for
PotentialAtomicOption<T, Rc<()>> - Atomic
PinArc alloc - Alias for
PotentialAtomic<T, Pin<Arc<()>>> - Atomic
PinBox alloc - Alias for
PotentialAtomic<T, Pin<Box<()>>> - Atomic
PinRc alloc - Alias for
PotentialAtomic<T, Pin<Rc<()>>> - Atomic
Rc alloc - Alias for
PotentialAtomic<T, Rc<()>> - Target
- Gets the target for a
Well.
Trait Aliases§
- Strong
Well Mut - Alias for
StrongWell + DerefMut.