pub fn type_ref(ty: &Type) -> TypeRef
Peel Vec<T>, Option<T> and Box<T> down to the named type inside.
Vec<T>
Option<T>
Box<T>