Struct airmash_protocol::server::GamePlayersAlive
source · [−]pub struct GamePlayersAlive {
pub players: u16,
}
Expand description
Info on the number of players currently alive
Fields
players: u16
Trait Implementations
sourceimpl Clone for GamePlayersAlive
impl Clone for GamePlayersAlive
sourcefn clone(&self) -> GamePlayersAlive
fn clone(&self) -> GamePlayersAlive
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GamePlayersAlive
impl Debug for GamePlayersAlive
sourceimpl<'de> DeserializeV5<'de> for GamePlayersAlive
impl<'de> DeserializeV5<'de> for GamePlayersAlive
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self>
sourceimpl From<GamePlayersAlive> for ServerPacket
impl From<GamePlayersAlive> for ServerPacket
sourcefn from(v: GamePlayersAlive) -> Self
fn from(v: GamePlayersAlive) -> Self
Converts to this type from the input type.
sourceimpl SerializeV5 for GamePlayersAlive
impl SerializeV5 for GamePlayersAlive
fn serialize<'ser>(&self, ser: &mut AirmashSerializerV5<'ser>) -> Result
impl Copy for GamePlayersAlive
Auto Trait Implementations
impl RefUnwindSafe for GamePlayersAlive
impl Send for GamePlayersAlive
impl Sync for GamePlayersAlive
impl Unpin for GamePlayersAlive
impl UnwindSafe for GamePlayersAlive
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more