diff options
author | Daniel Schadt <kingdread@gmx.de> | 2020-04-29 14:55:50 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2020-04-29 14:55:50 +0200 |
commit | 03dfb82d19cc017e10017b880bca7ea8300af108 (patch) | |
tree | 664eee3bdcdcab22fbfaca7a8c19a9d1230f211e /.gitignore | |
parent | 3e8b1c186bb4e748920cce002bd23bb60b52cb04 (diff) | |
download | evtclib-03dfb82d19cc017e10017b880bca7ea8300af108.tar.gz evtclib-03dfb82d19cc017e10017b880bca7ea8300af108.tar.bz2 evtclib-03dfb82d19cc017e10017b880bca7ea8300af108.zip |
add some convenience methods to Log
Those are methods that are probably useful to some applications, and it
feels like some of that data should even be in the file header. Due to
the evtc limitations though, we need to loop through the events to
access it, which means that every application would have to implement
this.
Those functions should be kept in a separate impl though, as they are
more costly to call than the other accessors. Maybe they should even be
moved to an "extension trait", though it's not clear whether putting
this behind a trait would be idiomatic Rust. The advantage would be that
users would have to specifically import the trait, thereby making sure
they're aware of the performance implications.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions