Structure in binaryninja::types - Rust

pub struct Structure { /* private fields */ }
Source§
Source
Source
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
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.

Source
Source§
Source§
Source§

Converts to this type from the input type.

Source§
Source§
Source§

Tests for self and other values to be equal, and is used by ==.

1.0.0 · Source§

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Source§
Source§

The resulting type after obtaining ownership.

Source§

Creates owned data from borrowed data, usually by cloning. Read more

1.63.0 · Source§

Uses borrowed data to replace owned data, usually by cloning. Read more

Source§
Source§

§
§
§
§
§
§