Trait hotg_rune_compiler::hooks::Context
source · [−]pub trait Context {
fn resources(&self) -> &Resources;
fn resources_mut(&mut self) -> &mut Resources;
fn world(&self) -> &World;
fn world_mut(&mut self) -> &mut World;
fn world_and_resources(&mut self) -> (&mut World, &mut Resources);
fn build_context(&self) -> AtomicRef<'_, BuildContext> { ... }
fn feature_flags(&self) -> AtomicRef<'_, FeatureFlags> { ... }
}
Expand description
Basic contextual information passed to all Hooks
.