pub fn entity_match_by(&self, filters: &Vec<Filter>) -> Vec<EntityId> {
        self.flow
            .entities()
            .filter(|x| {
                filters.iter().fold(false, |is, fil| is || x.matched(fil))
            })
            .map(|x| x.id().clone())
            .collect()
    }
/// take entities with any filter satisfied
take entities with any filter satisfied
take entities with any filter satisfied
pub fn entity_match_by(&self, filters: &Vec<Filter>) -> Vec<EntityId> {
        self.flow
            .entities()
            .filter(|x| {
                filters.iter().fold(false, |is, fil| is || x.matched(fil))
            })
            .map(|x| x.id().clone())
            .collect()
    }
pub fn entity_match_by ( & self , filters : & Vec < Filter > ) -> Vec < EntityId > { self . flow . entities ( ) . filter ( | x | { filters . iter ( ) . fold ( false , | is , fil | is || x . matched ( fil ) ) } ) . map ( | x | x . id ( ) . clone ( ) ) . collect ( ) }
take entities with any filter satisfied
take entities with any filter satisfied
&self
filters
&Vec<Filter>
&self
filters
&Vec<Filter>