[][src]Type Definition specs::prelude::WriteExpect

type WriteExpect<'a, T> = Write<'a, T, PanicHandler>;

Allows to fetch a resource in a system mutably. This will panic if the resource does not exist. Usage of Write or Option<Write> 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 mut WriteExpect<'b, T> where
    &'a mut T: ParJoin,
    T: Resource
[src]

fn par_join(self) -> JoinParIter<Self> where
    Self: Sized
[src]

Create a joined parallel iterator over the contents.

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

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

Type of joined components.

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

Type of joined storages.

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

Type of joined bit mask.

Important traits for JoinIter<J>
fn join(self) -> JoinIter<Self> where
    Self: Sized
[src]

Create a joined iterator over the contents.

fn maybe(self) -> MaybeJoin<Self> where
    Self: Sized
[src]

Returns a Join-able structure that yields all indices, returning None for all missing elements and Some(T) for found elements. Read more