pub fn night_action_results(&self) -> Vec<(&P, NightActionResult<&P>)> {
        let mut list = Vec::default();
        for (player_idx, result) in self.night_action_results.iter().enumerate() {
            if let &Some(result) = result {
                list.push((&self.secret_ids[player_idx], result.index(&self.secret_ids)));
            }
        }
        list
    }
/// Contains results of the last night's night actions.
Contains results of the last night's night actions.
Contains results of the last night ' s night actions .
pub fn night_action_results(&self) -> Vec<(&P, NightActionResult<&P>)> {
        let mut list = Vec::default();
        for (player_idx, result) in self.night_action_results.iter().enumerate() {
            if let &Some(result) = result {
                list.push((&self.secret_ids[player_idx], result.index(&self.secret_ids)));
            }
        }
        list
    }
pub fn night_action_results ( & self ) -> Vec < ( & P , NightActionResult < & P > ) > { let mut list = Vec :: default ( ) ; for ( player_idx , result ) in self . night_action_results . iter ( ) . enumerate ( ) { if let & Some ( result ) = result { list . push ( ( & self . secret_ids [ player_idx ] , result . index ( & self . secret_ids ) ) ) ; } } list }
Contains results of the last night's night actions.
Contains results of the last night ' s night actions .
&self
&self