Struct airmash_protocol::Team[][src]

pub struct Team(pub u16);

Type-safe team identifier

Methods

impl Team
[src]

Trait Implementations

impl From<Team> for Flag
[src]

Performs the conversion.

impl From<Flag> for Team
[src]

Performs the conversion.

impl Copy for Team
[src]

impl Clone for Team
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Team
[src]

impl Hash for Team
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Team
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Team
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<u16> for Team
[src]

Performs the conversion.

impl From<Team> for u16
[src]

Performs the conversion.

impl Component for Team
[src]

Associated storage type for this component.

Auto Trait Implementations

impl Send for Team

impl Sync for Team