Async Entity Component System based on the ideas of specs (https://github.com/amethyst/specs)
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

13 行
573 B

  1. /// The reducer is the final step of a `Consumer` -- after a consumer
  2. /// has been split into two parts, and each of those parts has been
  3. /// fully processed, we are left with two results. The reducer is then
  4. /// used to combine those two results into one. See [the `plumbing`
  5. /// README][r] for further details.
  6. ///
  7. /// [r]: https://github.com/rayon-rs/rayon/blob/master/src/iter/plumbing/README.md
  8. pub trait Reducer<Result> {
  9. /// Reduce two final results into one; this is executed after a
  10. /// split.
  11. fn reduce(self, left: Result, right: Result) -> Result;
  12. }