pub fn index<I: Into<Index<T>>>(&mut self, column: usize, indexer: I) {
        use EqualityIndex;
        let mut idx = indexer.into();

        // populate the new index
        for (rowid, row) in self.rows.iter() {
            idx.index(row.index(column).clone(), *rowid);
        }

        self.indices.insert(column, idx);
    }
/// Add an index on the given colum using the given indexer. The indexer *must*, at the very
/// least, implement `EqualityIndex`. It *may* also implement other, more sophisticated,
/// indexing strategies outlined in `Index`.
///
/// When an index is added, it is immediately fed all rows in the current dataset. Thus, adding
/// an index to a `Store` with many rows can be fairly costly. Keep this in mind!
Add an index on the given colum using the given indexer. The indexer *must*, at the very
least, implement `EqualityIndex`. It *may* also implement other, more sophisticated,
indexing strategies outlined in `Index`.

When an index is added, it is immediately fed all rows in the current dataset. Thus, adding
an index to a `Store` with many rows can be fairly costly. Keep this in mind!
Add an index on the given colum using the given indexer . The indexer * must * at the very least implement ` EqualityIndex ` . It * may * also implement other more sophisticated indexing strategies outlined in ` Index ` . When an index is added it is immediately fed all rows in the current dataset . Thus adding an index to a ` Store ` with many rows can be fairly costly . Keep this in mind!
pub fn index<I: Into<Index<T>>>(&mut self, column: usize, indexer: I) {
        use EqualityIndex;
        let mut idx = indexer.into();
        // populate the new index
        for (rowid, row) in self.rows.iter() {
            idx.index(row.index(column).clone(), *rowid);
        }
        self.indices.insert(column, idx);
    }
pub fn index < I : Into < Index < T > > > ( & mut self , column : usize , indexer : I ) { use EqualityIndex ; let mut idx = indexer . into ( ) ; // populate the new index for ( rowid , row ) in self . rows . iter ( ) { idx . index ( row . index ( column ) . clone ( ) , * rowid ) ; } self . indices . insert ( column , idx ) ; }
Add an index on the given colum using the given indexer.
Add an index on the given colum using the given indexer .
&mut self
column
usize
indexer
I
&mut self
column
usize
indexer
I