Struct airmash_protocol::server::GameSpectate [−][src]
pub struct GameSpectate {
pub id: Player,
}Update which player the client is spectating.
Fields
id: Player
Trait Implementations
impl Copy for GameSpectate[src]
impl Copy for GameSpectateimpl Clone for GameSpectate[src]
impl Clone for GameSpectatefn clone(&self) -> GameSpectate[src]
fn clone(&self) -> GameSpectateReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for GameSpectate[src]
impl Debug for GameSpectatefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<GameSpectate> for ServerPacket[src]
impl From<GameSpectate> for ServerPacketfn from(v: GameSpectate) -> Self[src]
fn from(v: GameSpectate) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for GameSpectate
impl Send for GameSpectateimpl Sync for GameSpectate
impl Sync for GameSpectate