Lines Matching defs:count
18 /// Manages the count.
23 count: u32,
28 Self { count: 0 }
37 /// Increase count
39 self.count += 1;
42 /// Decrease count
44 if self.count > 0 {
45 self.count -= 1;
49 /// get count.
50 pub fn count(&mut self) -> u32 {
51 self.count
55 /// Auto count asset service use times
60 /// New auto counter instance and add count