Struct prologin::state::Agent [] [src]

pub struct Agent {
    pub player: Player,
    pub id: i32,
}

Fields

Trait Implementations

impl Clone for Agent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Agent
[src]

Formats the value using the given formatter. Read more

impl<T> Index<Agent> for AgentLocal<T>
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<T> IndexMut<Agent> for AgentLocal<T>
[src]

Performs the mutable indexing (container[index]) operation.

Auto Trait Implementations

impl Send for Agent

impl Sync for Agent