Skip to main content

cde_matches_fresh

Function cde_matches_fresh 

Source
pub fn cde_matches_fresh<E: HazardEntity>(
    cde: &CDEngine<E>,
    base: &CDEngine<E>,
    dynamic_hazards: impl IntoIterator<Item = Hazard<E>>,
) -> bool
Expand description

Checks that cde matches a fresh copy of base with dynamic_hazards registered: the same hazards, and an index that matches them.