Type Alias oxygengine_core::prefab::PrefabSystemResources
source · pub type PrefabSystemResources<'a> = (&'a AssetsDatabase, &'a mut PrefabManager, &'a mut PrefabSystemCache);
Trait Implementations§
source§impl<A, B, C> AccessType for (A, B, C)where
A: AccessType,
B: AccessType,
C: AccessType,
impl<A, B, C> AccessType for (A, B, C)where A: AccessType, B: AccessType, C: AccessType,
source§impl<C, B, A> Fetch for (C, B, A)where
C: Fetch,
B: Fetch,
A: Fetch,
impl<C, B, A> Fetch for (C, B, A)where C: Fetch, B: Fetch, A: Fetch,
§type State = (<C as Fetch>::State, <B as Fetch>::State, <A as Fetch>::State)
type State = (<C as Fetch>::State, <B as Fetch>::State, <A as Fetch>::State)
The type of the data which can be cached to speed up retrieving
the relevant type states from a matching
Archetype
source§fn access(archetype: &Archetype) -> Option<Access>
fn access(archetype: &Archetype) -> Option<Access>
How this query will access
archetype
, if at allsource§fn borrow(archetype: &Archetype, state: <(C, B, A) as Fetch>::State)
fn borrow(archetype: &Archetype, state: <(C, B, A) as Fetch>::State)
Acquire dynamic borrows from
archetype
source§fn prepare(archetype: &Archetype) -> Option<<(C, B, A) as Fetch>::State>
fn prepare(archetype: &Archetype) -> Option<<(C, B, A) as Fetch>::State>
Look up state for
archetype
if it should be traversedsource§fn execute(
archetype: &Archetype,
state: <(C, B, A) as Fetch>::State
) -> (C, B, A)
fn execute( archetype: &Archetype, state: <(C, B, A) as Fetch>::State ) -> (C, B, A)
Construct a
Fetch
for archetype
based on the associated state