Add support for Pin pointer types to DefaultPointerOps so that users can
use a type like Pin<Box> inside the intrusive_adapter! macro.
Intrusive collections inherently rely on the values having stable memory
locations and don't provide a way to get a mutable reference to the
value so they uphold the guarantees of pinning.
Looks like the build failed because pin_into_inner is an unstable feature on rust 1.36. Should I also bump the minimum supported compiler version to 1.39?
Add support for Pin pointer types to DefaultPointerOps so that users can use a type like Pin<Box> inside the intrusive_adapter! macro.
Intrusive collections inherently rely on the values having stable memory
locations and don't provide a way to get a mutable reference to the
value so they uphold the guarantees of pinning.