MCPcopy Create free account
hub / github.com/RustCV/RustCV / new

Method new

rustcv/src/core/tick_meter.rs:19–25  ·  view source on GitHub ↗

构造函数

()

Source from the content-addressed store, hash-verified

17impl TickMeter {
18 /// 构造函数
19 pub fn new() -> Self {
20 Self {
21 start_time: None,
22 total_time: Duration::new(0, 0),
23 counter: 0,
24 }
25 }
26
27 /// 开始计时 (Start)
28 pub fn start(&mut self) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected