Trait NumOperations

Source
pub trait NumOperations: Debug {
    // Required method
    fn len(&self) -> usize;

    // Provided method
    fn is_empty(&self) -> bool { ... }
}
Expand description

The number of operations contained in the data strusture.

Required Methods§

Source

fn len(&self) -> usize

The number of registered operations.

Provided Methods§

Source

fn is_empty(&self) -> bool

If the current optimization is empty.

Implementors§