Skip to main content

ReadResource

Type Alias ReadResource 

Source
pub type ReadResource<'a, R> = ResourceAccess<AtomicRef<'a, R>>;
Expand description

SystemData type that reads the given resource.

§Panics

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

Aliased Type§

pub struct ReadResource<'a, R>(/* private fields */);

Trait Implementations§