Trait papergrid::records::ExactRecords
source · pub trait ExactRecords {
// Required method
fn count_rows(&self) -> usize;
}
Expand description
Records
extension which guarantees the amount of rows.
Required Methods§
sourcefn count_rows(&self) -> usize
fn count_rows(&self) -> usize
Returns an exact amount of rows in records.
It must be guaranteed that an iterator will yield this amount.