pub enum Key<'a> {
Numeric(&'a [f64]),
Categorical(&'a [String]),
}Expand description
One sort key: a column of the frame.
Variants§
Numeric(&'a [f64])
A numeric key, used as is. Must be finite.
Categorical(&'a [String])
A categorical key, ranked by byte order of its values.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Key<'a>
impl<'a> RefUnwindSafe for Key<'a>
impl<'a> Send for Key<'a>
impl<'a> Sync for Key<'a>
impl<'a> Unpin for Key<'a>
impl<'a> UnsafeUnpin for Key<'a>
impl<'a> UnwindSafe for Key<'a>
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