1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 10:14:06 +02:00

handler multiplexer

This commit is contained in:
Robin Appelman 2019-12-14 16:26:24 +01:00
commit 1709082228
8 changed files with 47 additions and 12 deletions

View file

@ -26,13 +26,13 @@ impl MessageHandler for SendPropAnalyser {
false
}
fn get_output(self, state: ParserState) -> Self::Output {
fn get_output(self, state: &ParserState) -> Self::Output {
state
.send_tables
.into_iter()
.iter()
.map(|v| ParseSendTable {
name: v.name,
props: v.props,
name: v.name.clone(),
props: v.props.clone(),
needs_decoder: v.needs_decoder,
})
.collect()