| Crates.io | rx_core_macro_observable_derive |
| lib.rs | rx_core_macro_observable_derive |
| version | 0.2.0 |
| created_at | 2026-01-18 23:15:50.823883+00 |
| updated_at | 2026-01-24 14:57:55.107131+00 |
| description | rx_core observable derive, implements associated type only traits |
| homepage | https://github.com/AlexAegis/rx_bevy |
| repository | https://github.com/AlexAegis/rx_bevy |
| max_upload_size | |
| id | 2053290 |
| size | 8,676 |
Helper macro to implement a few traits required for an observable.
ObservableWithPrimaryCategory: Sets the associated type to
PrimaryCategoryObservableObservableOutput: Sets the associated type Out to the value of the
#[rx_out(...)] attribute, or to Never (Infallible) if missing. Also
sets the associated OutError type to the value of the
#[rx_out_error(...)] attribute, or to Never if missing.All attributes are prefixed with
rx_for easy auto-complete access.
#[rx_out(...)] (optional, default: Never): Defines the output type of
the observable#[rx_out_error(...)] (optional, default: Never): Defines the output
error type of the observableRxExecutor -
Derive macro for Executors.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.RxWork -
Derive macro for schedulable work.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