macro_rules! deref { ($ty:ident $(<$($generic:ident),*>)? => $field:tt: $target:ty) => { ... }; }
A helper to implement Deref for a type.
Deref