synstructure

Function get_ty_params

source
pub(crate) fn get_ty_params(field: &Field, generics: &Generics) -> Vec<bool>
Expand description

Helper function used by the VariantInfo constructor. Walks all of the types in field and returns a list of the type parameters from ty_params which are referenced in the field.