Struct shred::Read [−][src]
pub struct Read<'a, T: 'a, F = DefaultProvider> { /* fields omitted */ }
Expand description
Allows to fetch a resource in a system immutably.
If the resource isn’t strictly required, you should use Option<Read<T>>
.
Type parameters
T
: The type of the resourceF
: The setup handler (default:DefaultProvider
)
Trait Implementations
Fetches the system data from World
. Note that this is only specified
for one concrete lifetime 'a
, you need to implement the
SystemData
trait for every possible lifetime. Read more
Returns all read dependencies as fetched from Self::fetch
. Read more
Returns all write dependencies as fetched from Self::fetch
. Read more
Auto Trait Implementations
impl<'a, T, F = DefaultProvider> !RefUnwindSafe for Read<'a, T, F>
impl<'a, T, F = DefaultProvider> !UnwindSafe for Read<'a, T, F>