pub struct Analyser { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl BorrowMessageHandler for Analyser
impl BorrowMessageHandler for Analyser
fn borrow_output(&self, _state: &ParserState) -> &Self::Output
Source§impl<'de> Deserialize<'de> for Analyser
impl<'de> Deserialize<'de> for Analyser
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 Analyser
impl MessageHandler for Analyser
type Output = MatchState
fn does_handle(message_type: MessageType) -> bool
fn handle_message( &mut self, message: &Message<'_>, tick: DemoTick, _parser_state: &ParserState, )
fn handle_string_entry( &mut self, table: &str, index: usize, entry: &StringTableEntry<'_>, _parser_state: &ParserState, )
fn into_output(self, _state: &ParserState) -> Self::Output
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, )
impl StructuralPartialEq for Analyser
Auto Trait Implementations§
impl Freeze for Analyser
impl RefUnwindSafe for Analyser
impl Send for Analyser
impl Sync for Analyser
impl Unpin for Analyser
impl UnwindSafe for Analyser
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