Skip to main content

Crate nexus_rt_derive

Crate nexus_rt_derive 

Source
Expand description

Derive macros for nexus-rt.

Use nexus-rt instead of depending on this crate directly. The derives are re-exported from nexus_rt::{Resource, Deref, DerefMut, select}.

Macros§

select
Compile-time dispatch table for pipeline/DAG steps — the nexus-rt analogue of tokio’s select!.

Derive Macros§

Deref
Derive Deref for newtype wrappers.
DerefMut
Derive DerefMut for newtype wrappers.
Param
Derive the Param trait for a struct, enabling it to be used as a grouped handler parameter.
Resource
Derive the Resource marker trait, allowing this type to be stored in a World.
View
Derive a View projection for use with pipeline .view() scopes.