pub fn unwrap_vec_type(ty: &Type) -> Option<&Type>
If ty is Vec<T>, returns Some(&T). Otherwise returns None.
ty
Vec<T>
Some(&T)
None