pub type CompMut<'a, T> = RefMut<'a, ComponentStore<T>>;
Expand description
SystemParam
for getting mutable access to a ComponentStore
.
Aliased Type§
struct CompMut<'a, T> { /* private fields */ }
Trait Implementations§
source§impl<'a, 'q, T: HasSchema> QueryItem for &'a CompMut<'q, T>
impl<'a, 'q, T: HasSchema> QueryItem for &'a CompMut<'q, T>
source§impl<'a, 'q, T: HasSchema> QueryItem for &'a mut CompMut<'q, T>
impl<'a, 'q, T: HasSchema> QueryItem for &'a mut CompMut<'q, T>
§type Iter = Map<UntypedComponentBitsetIteratorMut<'a>, for<'b> fn(_: SchemaRefMut<'b>) -> &'b mut T>
type Iter = Map<UntypedComponentBitsetIteratorMut<'a>, for<'b> fn(_: SchemaRefMut<'b>) -> &'b mut T>
The type of iterator this query item creates
source§fn apply_bitset(&self, bitset: &mut BitSetVec)
fn apply_bitset(&self, bitset: &mut BitSetVec)
Modify the iteration bitset
source§impl<'a, T: HasSchema> SystemParam for CompMut<'a, T>
impl<'a, T: HasSchema> SystemParam for CompMut<'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> = RefMut<'p, ComponentStore<T>>
type Param<'p> = RefMut<'p, ComponentStore<T>>
The type of the parameter, ranging over the lifetime of the intermediate state. Read more