Type Definition despero_hecs_schedule::SubWorld

source ·
pub type SubWorld<'a, T> = SubWorldRaw<AtomicRef<'a, World>, T>;
Expand description

Type alias for a subworld referencing the world by an atomic_refcell::AtomicRef. Most common for schedules

Trait Implementations§

source§

impl<'a, T> ContextBorrow<'a> for SubWorld<'a, T>

§

type Target = SubWorldRaw<AtomicRef<'a, World>, T>

The resulting type after borrowing from context
source§

fn borrow(context: &'a Context<'_>) -> Result<Self>

Borrow type from context
source§

impl<T: Component> IntoBorrow for SubWorld<'_, T>

§

type Borrow = SubWorldBorrower<T>

The borrow type