Class: Schema::Type::GroupStruct
Constant Summary
collapse
- DEFAULT_TYPE_ID =
0
Instance Method Summary
collapse
decode_pointer, from_pointer, #initialize
Constructor Details
This class inherits a constructor from Capnp::Struct
Instance Method Details
#to_obj ⇒ Object
648
649
650
651
652
653
|
# File 'lib/capnp/generator/schema.capnp.rb', line 648
def to_obj
res = {}
res["type_id"] = type_id
res["brand"] = brand&.to_obj
res
end
|
#type_id ⇒ Object
644
|
# File 'lib/capnp/generator/schema.capnp.rb', line 644
def type_id = read_u64(8, 0)
|