pub type Comp<'a, T> = Ref<'a, ComponentStore<T>>;
Expand description
SystemParam
for getting read access to a ComponentStore
.
Aliased Type§
struct Comp<'a, T> { /* private fields */ }
Trait Implementations§
source§impl<'a, 'q, T: HasSchema> QueryItem for &'a Comp<'q, T>
impl<'a, 'q, T: HasSchema> QueryItem for &'a Comp<'q, T>
source§impl<'a, T: HasSchema> SystemParam for Comp<'a, T>
impl<'a, T: HasSchema> SystemParam for Comp<'a, T>
§type State = Arc<AtomicCell<ComponentStore<T>>>
type State = Arc<AtomicCell<ComponentStore<T>>>
The intermediate state for the parameter, that may be extracted from the world.
§type Param<'p> = Ref<'p, ComponentStore<T>>
type Param<'p> = Ref<'p, ComponentStore<T>>
The type of the parameter, ranging over the lifetime of the intermediate state. Read more