Crate pinpoint
This crate provides an AsPin trait. AsPin can be used in the same fashion as AsRef and AsMut.
AsPin
AsRef
AsMut