pub struct Game2GameEnding {
pub time_to_next_state: i32,
pub game_result: Game2GameResult,
pub teams: Vec<Game2TeamScoreData>,
pub general_stats: Game2SnowWarGameStats,
}
Fields§
§time_to_next_state: i32
§game_result: Game2GameResult
§teams: Vec<Game2TeamScoreData>
§general_stats: Game2SnowWarGameStats
Trait Implementations§
source§impl BaseParser for Game2GameEnding
impl BaseParser for Game2GameEnding
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 Game2GameEnding
impl Clone for Game2GameEnding
source§fn clone(&self) -> Game2GameEnding
fn clone(&self) -> Game2GameEnding
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 Game2GameEnding
impl Debug for Game2GameEnding
source§impl Default for Game2GameEnding
impl Default for Game2GameEnding
source§fn default() -> Game2GameEnding
fn default() -> Game2GameEnding
Returns the “default value” for a type. Read more
source§impl PacketVariable for Game2GameEnding
impl PacketVariable for Game2GameEnding
source§impl PartialEq<Game2GameEnding> for Game2GameEnding
impl PartialEq<Game2GameEnding> for Game2GameEnding
source§fn eq(&self, other: &Game2GameEnding) -> bool
fn eq(&self, other: &Game2GameEnding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Game2GameEnding
Auto Trait Implementations§
impl RefUnwindSafe for Game2GameEnding
impl Send for Game2GameEnding
impl Sync for Game2GameEnding
impl Unpin for Game2GameEnding
impl UnwindSafe for Game2GameEnding
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