Trait tantivy::HasLen[][src]

pub trait HasLen {
    fn len(&self) -> usize;

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

Has length trait

Required methods

Return length

Provided methods

Returns true iff empty.

Implementors