pub(crate) enum KeyMapping<K: ArrowDictionaryKeyType> {
Dense(Vec<K::Native>),
Sparse(HashMap<usize, K::Native, RandomState>),
}Variants§
Implementations§
Auto Trait Implementations§
impl<K> Forget for KeyMapping<K>
impl<K> Freeze for KeyMapping<K>
impl<K> Move for KeyMapping<K>
impl<K> RefUnwindSafe for KeyMapping<K>where
Vec<<K as ArrowPrimitiveType>::Native>: RefUnwindSafe,
HashMap<usize, <K as ArrowPrimitiveType>::Native, RandomState>: RefUnwindSafe,
impl<K> Send for KeyMapping<K>
impl<K> Sync for KeyMapping<K>
impl<K> Unpin for KeyMapping<K>
impl<K> UnsafeUnpin for KeyMapping<K>where
Vec<<K as ArrowPrimitiveType>::Native>: UnsafeUnpin,
HashMap<usize, <K as ArrowPrimitiveType>::Native, RandomState>: UnsafeUnpin,
impl<K> UnwindSafe for KeyMapping<K>where
Vec<<K as ArrowPrimitiveType>::Native>: UnwindSafe,
HashMap<usize, <K as ArrowPrimitiveType>::Native, RandomState>: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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