Skip to main content

Crate pybevy_macros

Crate pybevy_macros 

Source

Macros§

asset_bridge
Generates an AssetBridge struct and implementation for feature crates.
component_bridge
Generates a ComponentBridge struct and implementation for feature crates.
handle_bridge
Generates a ComponentBridge for handle wrapper types in feature crates.
message_bridge
Generates a MessageBridge for event/message types in feature crates.
newtype_bridge
Generates a ComponentBridge struct for newtype/wrapper components in feature crates.
plugin_bridge
Generates a PluginBridge struct and implementation for feature crates.
resource_bridge
Generates a ResourceBridge struct and implementation for feature crates.
unit_bridge
Generates a ComponentBridge struct for unit/marker components in feature crates.

Attribute Macros§

asset_storage
Generates storage boilerplate for asset wrappers in feature crates.
bevy_enum
component_storage
Generates storage boilerplate for component wrappers in feature crates.
native_asset
Generates boilerplate implementations for PyBevy asset wrapper types.
native_component
Generates boilerplate implementations for PyBevy component wrapper types.
native_field
Generates boilerplate implementations for PyBevy field wrapper types.
native_resource
Generates boilerplate implementations for PyBevy resource wrapper types.
newtype_storage
Generates storage boilerplate for newtype component wrappers in feature crates.
pybevy_app
A procedural macro to create a pybevy application module from a native Bevy App function.
resource_storage
Generates storage boilerplate for resource wrappers in feature crates.

Derive Macros§

PyComponent
Derives a complete PyO3 component wrapper for a Bevy component.