Module arc_slice

Source
Expand description

A thin atomically-reference-counted slice.

Structs§

ArcSlice
A wrapper type for a refcounted slice using ThinArc.
ForgottenArcSlicePtr
The inner pointer of an ArcSlice, to be sent via FFI. The type of the pointer is a bit of a lie, we just want to preserve the type but these pointers cannot be constructed outside of this crate, so we’re good.

Constants§

ARC_SLICE_CANARY 🔒
A canary that we stash in ArcSlices.

Statics§

EMPTY_ARC_SLICE 🔒