pub fn current_count() -> usize
Expand description

Get the current counter number without incrementing. The lowest number this function can return is 0.

Example

let count1 = current_count();
let count2 = current_count();

assert_eq!(count1, count2);