pub(crate) fn struct_field_index_by_name( structs: &[MirStructDecl], struct_name: &str, field: &str, ) -> Result<usize, LowerError>
Return one struct field index in declaration order.