pub struct Index { /* private fields */ }Implementations§
Source§impl Index
impl Index
Sourcepub fn new(key: Vec<Key>, df: &ColumnFrame) -> Self
pub fn new(key: Vec<Key>, df: &ColumnFrame) -> Self
Create the index for the given keys and the ColumnFrame for the given keys.
This will enumerate the values and store them in the index with current values
pub fn get(&self, values: &[DataValue]) -> Option<usize>
pub fn join(self, other: Index) -> Vec<(usize, Option<usize>)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Index
impl RefUnwindSafe for Index
impl Send for Index
impl Sync for Index
impl Unpin for Index
impl UnwindSafe for Index
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more