bevy_startup_tree 0.9.0

A bevy extension for inserting startup system dependency graphs into the app
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::fmt;

use bevy_ecs::schedule::SystemSet;

#[derive(Clone, Copy, Hash, PartialEq, Eq, SystemSet)]
pub struct StartupTreeLayer(pub &'static str);

impl fmt::Debug for StartupTreeLayer {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        #[cfg(test)]
        if f.alternate() {
            return f.write_str(self.0);
        }
        f.debug_tuple("Set").field(&self.0).finish()
    }
}