Enum airmash_protocol::PlaneType [] [src]

pub enum PlaneType {
    Predator,
    Tornado,
    Mohawk,
    Goliath,
    Prowler,
}

All plane types present within airmash.

Variants

Methods

impl PlaneType
[src]

[src]

Get the associated numerical value

[src]

Get the plane associated with a numerical value, or None otherwise.

Trait Implementations

impl Clone for PlaneType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for PlaneType
[src]

impl Debug for PlaneType
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for PlaneType
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for PlaneType
[src]

Auto Trait Implementations

impl Send for PlaneType

impl Sync for PlaneType