pub trait LineCount { // Required methods fn decrement(&mut self); fn empty(&self) -> bool; }
A trait for various types than can represent a number of lines.
Implementations are provided for all base unsigned integers.
Lower the number by one.
Check whether the number is equal to zero.