fn handle_unnamed_field_struct(fields: &FieldsUnnamed, props_gen: &mut proc_macro2::TokenStream) {
    let field = fields.unnamed.iter().next().unwrap();
    let (ty_ref, _) = get_field_type(&field);

    if let Some(ty_ref) = ty_ref {
        props_gen.extend(quote!({
            schema = #ty_ref::raw_schema();
        }));
    }
}
/// Generates code for a tuple struct with fields.
Generates code for a tuple struct with fields.
Generates code for a tuple struct with fields .
fn handle_unnamed_field_struct(fields: &FieldsUnnamed, props_gen: &mut proc_macro2::TokenStream) {
    let field = fields.unnamed.iter().next().unwrap();
    let (ty_ref, _) = get_field_type(&field);
    if let Some(ty_ref) = ty_ref {
        props_gen.extend(quote!({
            schema = #ty_ref::raw_schema();
        }));
    }
}
fn handle_unnamed_field_struct ( fields : & FieldsUnnamed , props_gen : & mut proc_macro2 :: TokenStream ) { let field = fields . unnamed . iter ( ) . next ( ) . unwrap ( ) ; let ( ty_ref , _ ) = get_field_type ( & field ) ; if let Some ( ty_ref ) = ty_ref { props_gen . extend ( quote ! ( { schema ty_ref raw_schema ( ) } ) ) ; } }
Generates code for a tuple struct with fields.
Generates code for a tuple struct with fields .
fields
&FieldsUnnamed
props_gen
&mut proc_macro2::TokenStream