pub(crate) fn retain_evidence_only(&mut self) {
        self.units.clear();
        self.blocks.clear();
        for obs in self.panorama.iter_mut() {
            if obs.is_correct() {
                *obs = Observation::None;
            }
        }
        self.endorsements.clear();
        self.incomplete_endorsements.clear();
    }
/// Drops all state other than evidence.
Drops all state other than evidence.
Drops all state other than evidence .
pub(crate) fn retain_evidence_only(&mut self) {
        self.units.clear();
        self.blocks.clear();
        for obs in self.panorama.iter_mut() {
            if obs.is_correct() {
                *obs = Observation::None;
            }
        }
        self.endorsements.clear();
        self.incomplete_endorsements.clear();
    }
pub ( crate ) fn retain_evidence_only ( & mut self ) { self . units . clear ( ) ; self . blocks . clear ( ) ; for obs in self . panorama . iter_mut ( ) { if obs . is_correct ( ) { * obs = Observation :: None ; } } self . endorsements . clear ( ) ; self . incomplete_endorsements . clear ( ) ; }
Drops all state other than evidence.
Drops all state other than evidence .
&mut self
&mut self