Crate pin_api [] [src]

Experiment with pinning self-referential structs.

Structs

Pin

A pinned reference.

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.