class FFI::StructLayout

def offset_of(field_name)

Returns:
  • (Numeric) -
def offset_of(field_name)
  self[field_name].offset
end