class FFI::Struct

def self.offset_of(name)

(see FFI::StructLayout#offset_of)
def self.offset_of(name)
  @layout.offset_of(name)
end