[][src]Crate elysees

crates.io Downloads Fork of Arc, now with more pointer tricks.

Structs

Arc

An atomically reference counted shared pointer

ArcBorrow

A "borrowed Arc". This is a pointer to a T that is known to have been allocated within an Arc.

ArcHandle

An atomically reference counted shared pointer

ArcUnion

A tagged union that can represent ArcHandle<A> or ArcHandle<B> while only consuming a single word. The type is also NonNull, and thus can be stored in an Option without increasing size.

HeaderSlice

Structure to allow Arc-managing some fixed-sized data and a variably-sized slice in a single allocation.

HeaderWithLength

Header data with an inline length. Consumers that use HeaderWithLength as the Header type in HeaderSlice can take advantage of ThinArc.

ThinArc

A "thin" Arc containing dynamically sized data

UniqueArc

An ArcHandle that is known to be uniquely owned

Enums

ArcUnionBorrow

This represents a borrow of an ArcUnion.