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 duplicate 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 for Game2UserJoinedGame
impl PartialEq for Game2UserJoinedGame
impl StructuralPartialEq for Game2UserJoinedGame
Auto Trait Implementations§
impl Freeze for Game2UserJoinedGame
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