lcov_parser/report/
counter.rs

1// Copyright (c) 2015-2016 lcov-parser developers
2//
3// Licensed under the Apache License, Version 2.0
4// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT
5// license <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6// option. All files in the project carrying such notice may not be copied,
7// modified, or distributed except according to those terms.
8
9pub trait Hit {
10    fn is_hit(&self) -> bool;
11}
12
13pub trait HitCounter {
14    fn hit_count(&self) -> usize;
15}
16
17pub trait FoundCounter {
18    fn found_count(&self) -> usize;
19}
20
21pub trait HitFoundCounter:HitCounter + FoundCounter {
22}