pub struct Structure { /* private fields */ }Source§
Source
Retrieve the members that are accessible at a given offset.
The reason for this being plural is that members may overlap and the offset is in bytes where a bitfield may contain multiple members at the given byte.
Unions are also represented as structures and will cause this function to return all members that can reach that offset.
We must pass a TypeContainer here so that we can resolve base structure members, as they
are treated as members through this function. Typically, you get the TypeContainer
through the binary view with BinaryViewExt::type_container.
Source
Returns the list of all structure members, including inherited ones.
Because we must traverse through base structures, we have to provide the TypeContainer;
in most cases it is ok to provide the binary views container via BinaryViewExt::type_container.
Source
Retrieve the list of base structures for the structure. These base structures are what give a structure inherited members.
Source
Whether the structure is packed or not.