Struct sirpent::state::RoundState [] [src]

pub struct RoundState {
    pub round_number: usize,
    pub food: HashSet<Vector>,
    pub eaten: HashMap<String, Vector>,
    pub snakes: HashMap<String, Snake>,
    pub directions: HashMap<String, Direction>,
    pub casualties: HashMap<String, CauseOfDeath>,
}

Fields

Trait Implementations

impl Default for RoundState
[src]

Returns the "default value" for a type. Read more

impl Debug for RoundState
[src]

Formats the value using the given formatter.

impl Clone for RoundState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for RoundState
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.