Struct prologin::state::PlayerLocal
[−]
[src]
pub struct PlayerLocal<T>(pub T, pub T);
Methods
impl<T> PlayerLocal<T>[src]
impl<T> PlayerLocal<T>Trait Implementations
impl<T: Clone> Clone for PlayerLocal<T>[src]
impl<T: Clone> Clone for PlayerLocal<T>fn clone(&self) -> PlayerLocal<T>[src]
fn clone(&self) -> PlayerLocal<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 PlayerLocal<T>[src]
impl<T: Debug> Debug for PlayerLocal<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<Player> for PlayerLocal<T>[src]
impl<T> Index<Player> for PlayerLocal<T>type Output = T
The returned type after indexing.
fn index(&self, player: Player) -> &T[src]
fn index(&self, player: Player) -> &TPerforms the indexing (container[index]) operation.
impl<T> IndexMut<Player> for PlayerLocal<T>[src]
impl<T> IndexMut<Player> for PlayerLocal<T>Auto Trait Implementations
impl<T> Send for PlayerLocal<T> where
T: Send,
impl<T> Send for PlayerLocal<T> where
T: Send, impl<T> Sync for PlayerLocal<T> where
T: Sync,
impl<T> Sync for PlayerLocal<T> where
T: Sync,