pub trait Indexable {
// Required method
fn get_index(&self) -> &Index;
// Provided methods
fn total_lines(&self) -> usize { ... }
fn get_index_byte_len(&self) -> usize { ... }
}
Required Methods§
Provided Methods§
Sourcefn total_lines(&self) -> usize
fn total_lines(&self) -> usize
Returns the total amount of lines in the file without the lines used by the index.