pub struct PlayerSummaryAnalyzer { /* private fields */ }
Expand description
An analyzer that extracts player scoreboard information to get the stats for every player by the end of the demo. Essentially, this will capture all the information that would appear on the scoreboard for every player if they took a snapshot at the time the demo finishes (such as the end of a match or round).
Implementations§
Trait Implementations§
Source§impl BorrowMessageHandler for PlayerSummaryAnalyzer
impl BorrowMessageHandler for PlayerSummaryAnalyzer
fn borrow_output(&self, _state: &ParserState) -> &Self::Output
Source§impl Debug for PlayerSummaryAnalyzer
impl Debug for PlayerSummaryAnalyzer
Source§impl Default for PlayerSummaryAnalyzer
impl Default for PlayerSummaryAnalyzer
Source§fn default() -> PlayerSummaryAnalyzer
fn default() -> PlayerSummaryAnalyzer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlayerSummaryAnalyzer
impl<'de> Deserialize<'de> for PlayerSummaryAnalyzer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MessageHandler for PlayerSummaryAnalyzer
impl MessageHandler for PlayerSummaryAnalyzer
type Output = PlayerSummaryState
fn does_handle(message_type: MessageType) -> bool
fn handle_message( &mut self, message: &Message<'_>, _tick: DemoTick, parser_state: &ParserState, )
fn into_output( self, _parser_state: &ParserState, ) -> <Self as MessageHandler>::Output
fn handle_string_entry( &mut self, table: &str, index: usize, entry: &StringTableEntry<'_>, _parser_state: &ParserState, )
fn handle_header(&mut self, _header: &Header)
fn handle_data_tables( &mut self, _tables: &[ParseSendTable], _server_classes: &[ServerClass], _parser_state: &ParserState, )
fn handle_packet_meta( &mut self, _tick: DemoTick, _meta: &MessagePacketMeta, _parser_state: &ParserState, )
Source§impl PartialEq for PlayerSummaryAnalyzer
impl PartialEq for PlayerSummaryAnalyzer
Source§impl Serialize for PlayerSummaryAnalyzer
impl Serialize for PlayerSummaryAnalyzer
impl StructuralPartialEq for PlayerSummaryAnalyzer
Auto Trait Implementations§
impl Freeze for PlayerSummaryAnalyzer
impl RefUnwindSafe for PlayerSummaryAnalyzer
impl Send for PlayerSummaryAnalyzer
impl Sync for PlayerSummaryAnalyzer
impl Unpin for PlayerSummaryAnalyzer
impl UnwindSafe for PlayerSummaryAnalyzer
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more