Skip to main content

ReadComponent

Type Alias ReadComponent 

Source
pub type ReadComponent<'a, C> = ComponentAccess<'a, C, AtomicRef<'a, ComponentStorage<C>>>;
Expand description

SystemData type that reads the given component.

§Panics

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

Aliased Type§

pub struct ReadComponent<'a, C> { /* private fields */ }

Trait Implementations§