Thanks to visit codestin.com
Credit goes to docs.rs

ref-cast 1.0.5

Safely cast &T to &U where the struct U contains a single field of type T.
Documentation