# File lib/ffi/struct.rb, line 12
    def offset_of(field_name)
      @fields[field_name].offset
    end