| Crates.io | rx_core_macro_work_derive |
| lib.rs | rx_core_macro_work_derive |
| version | 0.2.0 |
| created_at | 2026-01-19 00:23:00.093957+00 |
| updated_at | 2026-01-24 14:58:12.451108+00 |
| description | rx_core work derive, implements associated type only traits |
| homepage | https://github.com/AlexAegis/rx_bevy |
| repository | https://github.com/AlexAegis/rx_bevy |
| max_upload_size | |
| id | 2053368 |
| size | 7,860 |
Helper macro to implement a few traits required for a Work.
ScheduledWorkWorkContextProvider: Using the type provided with #[rx_context]WithWorkInputOutput: Using the type provided with #[rx_tick]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 acceptRxExecutor -
Derive macro for Executors.RxObservable -
Derive macro for Observables.RxObserver -
Derive macro for RxObservers.RxOperator -
Derive macro for Operators.RxScheduler -
Derive macro for Schedulers.RxSubject -
Derive macro for Subjects.RxSubscriber -
Derive macro for Subscribers.RxSubscription -
Derive macro for Subscriptions.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