pub trait NumOperations: Debug { // Required method fn len(&self) -> usize; // Provided method fn is_empty(&self) -> bool { ... } }
The number of operations contained in the data strusture.
The number of registered operations.
If the current optimization is empty.