[][src]Type Definition goggles::world::ReadComponent

type ReadComponent<'a, C> = ComponentAccess<'a, C, AtomicRef<'a, ComponentStorage<C>>>;

SystemData type that reads the given component.

Panics

Panics if the component does not exist or has already been borrowed for writing.

Trait Implementations

impl<'a, C> FetchResources<'a> for ReadComponent<'a, C> where
    C: Component + Send + Sync + 'static,
    C::Storage: Send + Sync
[src]