[][src]Type Definition specs::ReadExpect

type ReadExpect<'a, T> = Read<'a, T, PanicHandler>;

Allows to fetch a resource in a system immutably. This will panic if the resource does not exist. Usage of Read or Option<Read> is therefore recommended.

If the nightly feature of shred is enabled, this will print the type of the resource in case of a panic. That can help for debugging.

Trait Implementations

impl<'a, 'b, T> ParJoin for &'a ReadExpect<'b, T> where
    &'a T: ParJoin,
    T: Resource
[src]

impl<'a, 'b, T> Join for &'a ReadExpect<'b, T> where
    &'a T: Join,
    T: Resource
[src]

type Type = <&'a T as Join>::Type

Type of joined components.

type Value = <&'a T as Join>::Value

Type of joined storages.

type Mask = <&'a T as Join>::Mask

Type of joined bit mask.