module Concurrent::Synchronization::AbstractStruct

def ns_each_pair

@!visibility private

@!macro struct_each_pair
def ns_each_pair
  @values.length.times do |index|
    yield self.class::MEMBERS[index], @values[index]
  end
end