Expand description
genrc::rc::Arc<T> is very similar to std::sync::Arc<T>, but with some
capabilities like C++’s shared_ptr.
See the module docs for detailed API, as it’s mostly the same as
genrc::rc::Rc<T>.
Structs§
- Atomic
- Marker type to indicate that
Archas atomic counts
Type Aliases§
- Arc
- Replacement for
std::sync::Arc<T>that allows shared pointers to subobjects - ArcBox
Arc<T>that is known to be the unique strong pointer to its referent, so it can be used mutably until downgrading by callingArcBox::shared().- Arcl
Arc<T>with a lifetime parameter, for representing projected pointers to objects with less-than-static lifetimes.- Weak
- Replacement for
std::sync::Weak<T>that allows shared pointers to subobjects - Weakl
Weak<T>equivalent forArcl.