Module callbacks
A public API for more fine-grained customization of bindgen behavior.
Structs
-
AttributeInfo
Relevant information about a type to which new attributes will be added using
ParseCallbacks::add_attributes. -
DeriveInfo
Relevant information about a type to which new derive attributes will be added using
ParseCallbacks::add_derives. -
DiscoveredItemId
An identifier for a discovered item. Used to identify an aliased type (see
DiscoveredItem::Alias) -
FieldInfo
Relevant information about a field for which visibility can be determined using
ParseCallbacks::field_visibility. -
ItemInfo
A struct providing information about the item being passed to
ParseCallbacks::generated_name_override.
Enums
-
DiscoveredItem
Struct passed to
ParseCallbacks::new_item_foundcontaining information about discovered items (struct, union, and alias) -
ItemKind
An enum indicating the kind of item for an
ItemInfo. - MacroParsingBehavior An enum to allow ignoring parsing of macros.
- TypeKind The kind of the current type.
Traits
- ParseCallbacks A trait to allow configuring different kinds of types in different situations.