Crate pin_api [] [src]

Experiment with pinning self-referential structs.

Structs

Pin

A pinned reference.

PinBox

A PinBox is a box that pins the data inside it. It guarantees that that data will not be moved out of it unless that data implements the Unpin trait.

PinMut

A pinned mutable reference.

StackPinned

This struct is used for pinning data to the stack.

Traits

Unpin

The Unpin auto trait means that it is safe to move out of a Pin reference to this type.

Functions

pinned

Pin data in the stack.