SubWorld

Type Alias 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

Aliased Type§

pub struct SubWorld<'a, T> { /* private fields */ }

Trait Implementations§

Source§

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

Source§

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>

Source§

type Borrow = SubWorldBorrower<T>

The borrow type