pub struct Team {
pub color: u8,
pub shade: u8,
}
Expand description
Information about the team a player belongs to.
Fields§
§color: u8
§shade: u8
Trait Implementations§
source§impl PartialEq for Team
impl PartialEq for Team
impl Copy for Team
impl Eq for Team
impl StructuralPartialEq for Team
Auto Trait Implementations§
impl Freeze for Team
impl RefUnwindSafe for Team
impl Send for Team
impl Sync for Team
impl Unpin for Team
impl UnwindSafe for Team
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.