/// Returns the place bells which are always preserved by plain leads and all calls of all methods
/// (e.g. hunt bells in non-variable-hunt compositions).
Returns the place bells which are always preserved by plain leads and all calls of all methods
.
Returns the place bells which are always preserved by plain leads and all calls of all methods .
pub(super) fn fixed_bells(
    methods: &[super::Method],
    calls: &CallVec<super::Call>,
    stage: Stage,
) -> Vec<Bell> {
    let mut all_bells = stage.bells().collect_vec();
    for m in methods {
        let f = fixed_bells_of_method(m, calls);
        all_bells.retain(|b| f.contains(b));
    }
    all_bells
}
pub ( super ) fn fixed_bells ( methods : & [ super :: Method ] , calls : & CallVec < super :: Call > , stage : Stage , ) -> Vec < Bell > { let mut all_bells = stage . bells ( ) . collect_vec ( ) ; for m in methods { let f = fixed_bells_of_method ( m , calls ) ; all_bells . retain ( | b | f . contains ( b ) ) ; } all_bells }
Returns the place bells which are always preserved by plain leads and all calls of all methods
(e.g.
Returns the place bells which are always preserved by plain leads and all calls of all methods ( e . g .
methods
&[super::Method]
calls
&CallVec<super::Call>
stage
Stage