Struct airmash_protocol::Flag[][src]

pub struct Flag(pub Team);

A flag ID

Methods

impl Flag
[src]

Trait Implementations

impl Copy for Flag
[src]

impl Clone for Flag
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Flag
[src]

Formats the value using the given formatter. Read more

impl Default for Flag
[src]

Returns the "default value" for a type. Read more

impl Eq for Flag
[src]

impl PartialEq for Flag
[src]

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

This method tests for !=.

impl Hash for Flag
[src]

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

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

impl From<Team> for Flag
[src]

Performs the conversion.

impl From<Flag> for Team
[src]

Performs the conversion.

impl Serialize for Flag
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for Flag
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Flag

impl Sync for Flag