Struct prologin::state::Agent
[−]
[src]
Fields
player: Player
id: i32
Trait Implementations
impl Clone for Agent[src]
impl Clone for Agentfn clone(&self) -> Agent[src]
fn clone(&self) -> AgentReturns 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 Agentfn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats 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) -> &TPerforms the indexing (container[index]) operation.
impl<T> IndexMut<Agent> for AgentLocal<T>[src]
impl<T> IndexMut<Agent> for AgentLocal<T>