Expand description
A public API for more fine-grained customization of bindgen behavior.
Structs§
- Attribute
Info - Relevant information about a type to which new attributes will be added using
ParseCallbacks::add_attributes
. - Derive
Info - Relevant information about a type to which new derive attributes will be added using
ParseCallbacks::add_derives
. - Discovered
Item Id - An identifier for a discovered item. Used to identify an aliased type (see
DiscoveredItem::Alias
) - Field
Info - Relevant information about a field for which visibility can be determined using
ParseCallbacks::field_visibility
. - Item
Info - A struct providing information about the item being passed to
ParseCallbacks::generated_name_override
. - Token
- A single token in a C expression.
Enums§
- Derive
Trait - Which trait to consider when doing the
CannotDerive
analysis. - Discovered
Item - Struct passed to
ParseCallbacks::new_item_found
containing information about discovered items (struct, union, and alias) - Enum
Variant Custom Behavior - An enum representing custom handling that can be given to a variant.
- Enum
Variant Value - A constant value assigned to an enumeration variant.
- Implements
Trait - Whether it is possible or not to automatically derive trait for an item.
- IntKind
- Which integral type are we dealing with?
- Item
Kind - An enum indicating the kind of item for an
ItemInfo
. - Macro
Parsing Behavior - An enum to allow ignoring parsing of macros.
- Token
Kind - Type
Kind - The kind of the current type.
Traits§
- Parse
Callbacks - A trait to allow configuring different kinds of types in different situations.