Function macro_tools::item_struct::field_types
source ยท pub fn field_types<'a>(
t: &'a ItemStruct,
) -> impl IterTrait<'a, &'a Type> + Clone
Expand description
Extracts the types of each field into a vector.
pub fn field_types<'a>(
t: &'a ItemStruct,
) -> impl IterTrait<'a, &'a Type> + Clone
Extracts the types of each field into a vector.