Expand description
Advanced runtime primitives that remain supported but are not part of the smallest onboarding surface.
Re-exports§
pub use super::archetype_world::ArchetypeQueryCache;pub use super::archetype_world::ArchetypeQueryState;pub use super::query::SimpleQueryCache;pub use super::query::SimpleQueryState;pub use super::resource::Resource;pub use super::Event;pub use super::EventReader;pub use super::EventWriter;pub use super::Plugin;pub use super::PluginGroup;pub use super::QueryStorage;pub use super::RuntimeWorld;pub use super::RuntimeWorldMut;pub use super::ScheduleError;pub use super::ScheduleStage;pub use super::SimpleQuery;pub use super::SimpleQueryBuilder;pub use super::SimpleScheduler;pub use super::SystemConfig;pub use super::WorldBackend;
Structs§
- Change
Tracker - Tracks which components were added, removed, or modified within a tick.
- Component
Event - A component event passed to observer functions.
- Hook
Registry - Registry of component lifecycle hooks.
- Hooked
World - A wrapper around
SimpleWorldthat fires lifecycle hooks on component mutations. - Observed
World - A wrapper around
SimpleWorldthat fires observers on component mutations. - Observer
Registry - Registry of component observers that fire on component events.
- Storage
World - World that reads/writes individual entities from Soroban persistent storage.
- System
Context - Execution context for the Soroban-first
SimpleWorldsystem API. - System
Spec - Declarative registration spec for the Soroban-first runtime system APIs.
- Tracked
World - A wrapper around
SimpleWorldthat automatically records component changes. - World
Metadata - Metadata stored as a single persistent entry.
Traits§
- AppSystem
- Marker trait for systems that participate in the Soroban-first app runtime.
- Simple
System - System trait for the
SimpleWorld/Soroban runtime.
Functions§
- context_
system - Wrap a
FnMut(&mut SystemContext)closure as a runtime system. - named_
app_ system - Wrap a pre-built runtime system together with its registration name.
- named_
context_ system - Wrap a context-aware closure together with its registration name.
- named_
system - Wrap a world/env closure together with its registration name.
- world_
system - Wrap a
FnMut(&mut SimpleWorld, &Env)closure as a runtime system.