class FFI::StructLayout
def offset_of(field_name)
-
(Numeric)
-
def offset_of(field_name) self[field_name].offset end
def offsets
-
(Array
- Array)
def offsets members.map { |m| [ m, self[m].offset ] } end
(Numeric)
-
def offset_of(field_name) self[field_name].offset end
(Array)
- Arraydef offsets members.map { |m| [ m, self[m].offset ] } end