#[derive(Resource)]
Derive the Resource marker trait, allowing this type to be stored in a World.
Resource
World
use nexus_rt::Resource; #[derive(Resource)] struct OrderBook { bids: Vec<(f64, f64)>, asks: Vec<(f64, f64)>, }