pub fn get_slice_element_type(ty: &Type) -> Option<&Type>
Extract the inner element type from a slice reference.