pub struct Game2UserJoinedGame {
pub user: GameLobbyPlayerData,
pub was_team_switched: bool,
}
Fields§
§user: GameLobbyPlayerData
§was_team_switched: bool
Trait Implementations§
source§impl BaseParser for Game2UserJoinedGame
impl BaseParser for Game2UserJoinedGame
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
source§impl Clone for Game2UserJoinedGame
impl Clone for Game2UserJoinedGame
source§fn clone(&self) -> Game2UserJoinedGame
fn clone(&self) -> Game2UserJoinedGame
Returns a copy of the value. Read more
1.0.0 · 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 Game2UserJoinedGame
impl Debug for Game2UserJoinedGame
source§impl Default for Game2UserJoinedGame
impl Default for Game2UserJoinedGame
source§fn default() -> Game2UserJoinedGame
fn default() -> Game2UserJoinedGame
Returns the “default value” for a type. Read more
source§impl PacketVariable for Game2UserJoinedGame
impl PacketVariable for Game2UserJoinedGame
source§impl PartialEq<Game2UserJoinedGame> for Game2UserJoinedGame
impl PartialEq<Game2UserJoinedGame> for Game2UserJoinedGame
source§fn eq(&self, other: &Game2UserJoinedGame) -> bool
fn eq(&self, other: &Game2UserJoinedGame) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Game2UserJoinedGame
Auto Trait Implementations§
impl RefUnwindSafe for Game2UserJoinedGame
impl Send for Game2UserJoinedGame
impl Sync for Game2UserJoinedGame
impl Unpin for Game2UserJoinedGame
impl UnwindSafe for Game2UserJoinedGame
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