/// flattens the node in pre order
flattens the node in pre order
flattens the node in pre order
fn flatten(self) -> Vec<StateMember<'a>> {
                let DepNode {
                    state_mem,
                    depandants,
                } = self;
                let mut flat = vec![state_mem];
                for d in depandants {
                    flat.append(&mut d.flatten());
                }
                flat
            }
fn flatten ( self ) -> Vec < StateMember < ' a > > { let DepNode { state_mem , depandants , } = self ; let mut flat = vec ! [ state_mem ] ; for d in depandants { flat . append ( & mut d . flatten ( ) ) ; } flat }
flattens the node in pre order
flattens the node in pre order
self