Type Alias oxygengine::prelude::LocalizationSystemResources
source · pub type LocalizationSystemResources<'a> = (&'a AssetsDatabase, &'a mut Localization, &'a mut LocalizationSystemCache);
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,
fn feed_types( reads: &mut HashSet<TypeId, RandomState>, writes: &mut HashSet<TypeId, RandomState> )
source§fn get_types() -> (HashSet<TypeId, RandomState>, HashSet<TypeId, RandomState>)
fn get_types() -> (HashSet<TypeId, RandomState>, HashSet<TypeId, RandomState>)
([reads], [writes])
§impl<A, B, C> DataStackPack for (A, B, C)where
A: 'static,
B: 'static,
C: 'static,
impl<A, B, C> DataStackPack for (A, B, C)where A: 'static, B: 'static, C: 'static,
fn stack_push(self, stack: &mut DataStack)
fn stack_pop(stack: &mut DataStack) -> (A, B, C)
fn pack_types() -> Vec<TypeHash, Global>
fn stack_push_reversed(self, stack: &mut DataStack)
§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
§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
§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 traversed§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§fn release(archetype: &Archetype, state: <(C, B, A) as Fetch>::State)
fn release(archetype: &Archetype, state: <(C, B, A) as Fetch>::State)
Release dynamic borrows acquired by
borrow
§fn for_each_borrow(f: impl FnMut(TypeId, bool))
fn for_each_borrow(f: impl FnMut(TypeId, bool))
Invoke
f
for every component type that may be borrowed and whether the borrow is unique