fudd 0.1.9

Fun with poker. Named after that most famous of rabbit hunters.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::analysis::eval_7card::Eval7Card;

#[derive(Clone, Debug, Default, PartialEq)]
pub struct Evals7Card(Vec<Eval7Card>);

impl Evals7Card {
    pub fn push(&mut self, eval: Eval7Card) {
        self.0.push(eval);
    }

    #[must_use]
    pub fn to_vec(&self) -> &Vec<Eval7Card> {
        &self.0
    }
}