pub struct GrowableDictionary<'a, K> where
K: DictionaryKey, { /* private fields */ }Expand description
Concrete Growable for the DictionaryArray.
Implementation
This growable does not perform collision checks and instead concatenates
the values of each DictionaryArray one after the other.
Implementations
sourceimpl<'a, T> GrowableDictionary<'a, T> where
T: DictionaryKey,
impl<'a, T> GrowableDictionary<'a, T> where
T: DictionaryKey,
sourcepub fn new(
arrays: &[&'a DictionaryArray<T>],
use_validity: bool,
capacity: usize
) -> GrowableDictionary<'a, T>
pub fn new(
arrays: &[&'a DictionaryArray<T>],
use_validity: bool,
capacity: usize
) -> GrowableDictionary<'a, T>
Creates a new GrowableDictionary bound to arrays with a pre-allocated capacity.
Panics
If arrays is empty.
Trait Implementations
sourceimpl<'a, T> From<GrowableDictionary<'a, T>> for DictionaryArray<T> where
T: DictionaryKey,
impl<'a, T> From<GrowableDictionary<'a, T>> for DictionaryArray<T> where
T: DictionaryKey,
sourcefn from(val: GrowableDictionary<'a, T>) -> DictionaryArray<T>
fn from(val: GrowableDictionary<'a, T>) -> DictionaryArray<T>
Performs the conversion.
sourceimpl<'a, T> Growable<'a> for GrowableDictionary<'a, T> where
T: DictionaryKey,
impl<'a, T> Growable<'a> for GrowableDictionary<'a, T> where
T: DictionaryKey,
sourcefn extend_validity(&mut self, additional: usize)
fn extend_validity(&mut self, additional: usize)
Extends this Growable with null elements, disregarding the bound arrays
Auto Trait Implementations
impl<'a, K> !RefUnwindSafe for GrowableDictionary<'a, K>
impl<'a, K> !Send for GrowableDictionary<'a, K>
impl<'a, K> !Sync for GrowableDictionary<'a, K>
impl<'a, K> Unpin for GrowableDictionary<'a, K> where
K: Unpin,
impl<'a, K> !UnwindSafe for GrowableDictionary<'a, K>
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