Module pin

Module pin 

Source

Macros§

pin
Constructs a Pin<&mut T>, by pinning a value: T locally.

Structs§

Pin
A pointer which pins its pointee in place.
UnsafePinnedExperimental
This type provides a way to entirely opt-out of typical aliasing rules; specifically, &mut UnsafePinned<T> is not guaranteed to be a unique pointer. This also subsumes the effects of UnsafeCell, i.e., &UnsafePinned<T> may point to data that is being mutated.

Traits§

PinCoerceUnsizedExperimental
Trait that indicates that this is a pointer or a wrapper for one, where unsizing can be performed on the pointee when it is pinned.