Bindgen::Graph::Struct::BitField
A bit-field of a lib struct or lib union. It is stored in the integer member
storage of type storage_type, which is unit_bits wide, at the bit
shift counted from its least significant bit. A signed bit-field has
the signed counterpart of the storage type as signed_type.
The getter_fun and setter_fun are the lib functions accessing it
through C++. Without them, the methods shift and mask storage
instead.
Constructors
Instance methods
bool
clone
Sourceconst
copy_with(name _name = @name, type_name _type_name = @type_name, storage _storage = @storage, storage_type _storage_type = @storage_type, unit_bits _unit_bits = @unit_bits, shift _shift = @shift, width _width = @width, signed_type _signed_type = @signed_type, bool _bool = @bool, const _const = @const, doc _doc = @doc, getter_fun _getter_fun = @getter_fun, setter_fun _setter_fun = @setter_fun)
Sourcedoc
getter_fun
name
setter_fun
shift
signed_type
storage
storage_type
type_name
unit_bits
width