pub struct AtomicComponentStoreRef<'a, T>where
    T: TypedEcsData,
{ /* private fields */ }
Expand description

A read-only borrow of AtomicComponentStore.

Implementations§

Gets an immutable reference to the component of Entity.

Iterates immutably over all components of this type. Very fast but doesn’t allow joining with other component types.

Iterates immutably over the components of this type where bitset indicates the indices of entities. Slower than iter() but allows joining between multiple component types.

Read the bitset containing the list of entites with this component type on it.

Check whether or not this component store has data for the given entity.

Trait Implementations§

The type of iterator this query item creates
Modify the iteration bitset
Return an iterator over the provided bitset.
The intermediate state for the parameter, that may be extracted from the world.
The type of the parameter, ranging over the lifetime of the intermediate state. Read more
This will be called to give the parameter a chance to initialize it’s world storage. Read more
This is called to produce the intermediate state of the system parameter. Read more
This is used create an instance of the system parame, possibly borrowed from the intermediate parameter state.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.