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