Enum polars::datatypes::RevMapping
source · [−]pub enum RevMapping {
Global(HashMap<u32, u32, RandomState, Global>, Utf8Array<i64>, u128),
Local(Utf8Array<i64>),
}
Variants
Global(HashMap<u32, u32, RandomState, Global>, Utf8Array<i64>, u128)
Hashmap: maps the indexes from the global cache/categorical array to indexes in the local Utf8Array Utf8Array: caches the string values
Local(Utf8Array<i64>)
Utf8Array: caches the string values
Implementations
sourceimpl RevMapping
impl RevMapping
Trait Implementations
sourceimpl Clone for RevMapping
impl Clone for RevMapping
sourcefn clone(&self) -> RevMapping
fn clone(&self) -> RevMapping
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RevMapping
impl Debug for RevMapping
sourceimpl Default for RevMapping
impl Default for RevMapping
sourcefn default() -> RevMapping
fn default() -> RevMapping
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for RevMapping
impl Send for RevMapping
impl Sync for RevMapping
impl Unpin for RevMapping
impl UnwindSafe for RevMapping
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more