Struct prologin::state::AgentLocal
[−]
[src]
Methods
impl<T> AgentLocal<T>[src]
impl<T> AgentLocal<T>pub fn fill(
f: impl FnMut(Agent) -> T
) -> PlayerLocal<Self>[src]
pub fn fill(
f: impl FnMut(Agent) -> T
) -> PlayerLocal<Self>Trait Implementations
impl<T: Clone> Clone for AgentLocal<T>[src]
impl<T: Clone> Clone for AgentLocal<T>fn clone(&self) -> AgentLocal<T>[src]
fn clone(&self) -> AgentLocal<T>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<T: Debug> Debug for AgentLocal<T>[src]
impl<T: Debug> Debug for AgentLocal<T>fn 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>Auto Trait Implementations
impl<T> Send for AgentLocal<T> where
T: Send,
impl<T> Send for AgentLocal<T> where
T: Send, impl<T> Sync for AgentLocal<T> where
T: Sync,
impl<T> Sync for AgentLocal<T> where
T: Sync,