Struct prologin::state::Agent
[−]
[src]
Fields
player: Player
id: i32
Trait Implementations
impl Clone for Agent
[src]
impl Clone for Agent
fn clone(&self) -> Agent
[src]
fn clone(&self) -> Agent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Agent
[src]
impl Debug for Agent
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T> Index<Agent> for AgentLocal<T>
[src]
impl<T> Index<Agent> for AgentLocal<T>
type Output = T
The returned type after indexing.
fn index(&self, agent: Agent) -> &T
[src]
fn index(&self, agent: Agent) -> &T
Performs the indexing (container[index]
) operation.
impl<T> IndexMut<Agent> for AgentLocal<T>
[src]
impl<T> IndexMut<Agent> for AgentLocal<T>