pub enum RowIndex {
Int(Vec<usize>),
Date(Vec<NaiveDate>),
Range(Range<usize>),
}
Expand description
Represents the different types of row indices a Frame can have.
Variants§
Int(Vec<usize>)
Integer-based index (e.g., 0, 1, 2, …). Values must be unique.
Date(Vec<NaiveDate>)
Date-based index. Values must be unique. Order is preserved as given.
Range(Range<usize>)
Default range index (0..num_rows) used when no specific index is provided.
Implementations§
Trait Implementations§
impl Eq for RowIndex
impl StructuralPartialEq for RowIndex
Auto Trait Implementations§
impl Freeze for RowIndex
impl RefUnwindSafe for RowIndex
impl Send for RowIndex
impl Sync for RowIndex
impl Unpin for RowIndex
impl UnwindSafe for RowIndex
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