Struct airmash_protocol::server::PlayerPowerup [] [src]

pub struct PlayerPowerup {
    pub ty: u8,
    pub duration: u32,
}

Event fired when a player picks up a powerup.

Fields

The type of the powerup

The duration of the powerup

Trait Implementations

impl Clone for PlayerPowerup
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PlayerPowerup
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for PlayerPowerup
[src]

Auto Trait Implementations

impl Send for PlayerPowerup

impl Sync for PlayerPowerup