rx_core_macro_executor_derive

Crates.iorx_core_macro_executor_derive
lib.rsrx_core_macro_executor_derive
version0.2.0
created_at2026-01-19 00:22:39.825896+00
updated_at2026-01-24 14:57:53.217358+00
descriptionrx_core executor derive, implements associated type only traits
homepagehttps://github.com/AlexAegis/rx_bevy
repositoryhttps://github.com/AlexAegis/rx_bevy
max_upload_size
id2053365
size8,220
Sandor (AlexAegis)

documentation

https://github.com/AlexAegis/rx_bevy

README

macro_executor_derive

crates.io ci codecov license

Helper macro to implement a few traits required for an executor.

Traits Implemented

  • WorkContextProvider: Using the type provided with #[rx_context]
  • WithWorkInputOutput: Using the type provided with #[rx_tick]

Attributes

All attributes are prefixed with rx_ for easy auto-complete access.

  • #[rx_context]: The context type that is passed to the work when polled.
  • #[rx_tick]: The tick type of work this scheduler can accept
  • #[rx_scheduler]: The scheduler this executor exposes, must match the context and work input/output types as this executor does

See Also

Expanding the proc macro

In case you want to inspect the output of the proc macro.

If you haven't installed cargo-expand yet, install it first:

cargo install cargo-expand

Then expand the macro output:

cargo expand -p rx_core_observable_interval
Commit count: 652

cargo fmt