pub struct KeyValueArray<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> { /* private fields */ }Available on crate feature
map only.Trait Implementations§
Source§impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> Clone for KeyValueArray<K, V, Buffer>
impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> Clone for KeyValueArray<K, V, Buffer>
Source§impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> Default for KeyValueArray<K, V, Buffer>
impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> Default for KeyValueArray<K, V, Buffer>
Source§impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> Extend<KeyValue<K, V>> for KeyValueArray<K, V, Buffer>
impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> Extend<KeyValue<K, V>> for KeyValueArray<K, V, Buffer>
Source§fn extend<_I: IntoIterator<Item = KeyValue<K, V>>>(&mut self, iter: _I)
fn extend<_I: IntoIterator<Item = KeyValue<K, V>>>(&mut self, iter: _I)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> From<KeyValueArray<K, V, Buffer>> for Vec<Arc<dyn Array>>
impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> From<KeyValueArray<K, V, Buffer>> for Vec<Arc<dyn Array>>
Source§fn from(value: KeyValueArray<K, V, Buffer>) -> Self
fn from(value: KeyValueArray<K, V, Buffer>) -> Self
Converts to this type from the input type.
Source§impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> From<Vec<Arc<dyn Array>>> for KeyValueArray<K, V, Buffer>
impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> From<Vec<Arc<dyn Array>>> for KeyValueArray<K, V, Buffer>
Source§impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> FromIterator<KeyValue<K, V>> for KeyValueArray<K, V, Buffer>
impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> FromIterator<KeyValue<K, V>> for KeyValueArray<K, V, Buffer>
Source§impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> IntoIterator for KeyValueArray<K, V, Buffer>where
<K as ArrayType<K>>::Array<Buffer, NA, NA>: IntoIterator<Item = K>,
<V as ArrayType<V>>::Array<Buffer, NA, NA>: IntoIterator<Item = V>,
impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> IntoIterator for KeyValueArray<K, V, Buffer>where
<K as ArrayType<K>>::Array<Buffer, NA, NA>: IntoIterator<Item = K>,
<V as ArrayType<V>>::Array<Buffer, NA, NA>: IntoIterator<Item = V>,
Source§impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> Length for KeyValueArray<K, V, Buffer>
impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> Length for KeyValueArray<K, V, Buffer>
Source§impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> StructArrayTypeFields for KeyValueArray<K, V, Buffer>
impl<K: ArrayType<K>, V: ArrayType<V>, Buffer: BufferType> StructArrayTypeFields for KeyValueArray<K, V, Buffer>
Auto Trait Implementations§
impl<K, V, Buffer> Freeze for KeyValueArray<K, V, Buffer>where
<K as ArrayType<K>>::Array<Buffer, i32, SparseLayout>: Freeze,
<V as ArrayType<V>>::Array<Buffer, i32, SparseLayout>: Freeze,
impl<K, V, Buffer> RefUnwindSafe for KeyValueArray<K, V, Buffer>where
<K as ArrayType<K>>::Array<Buffer, i32, SparseLayout>: RefUnwindSafe,
<V as ArrayType<V>>::Array<Buffer, i32, SparseLayout>: RefUnwindSafe,
impl<K, V, Buffer> Send for KeyValueArray<K, V, Buffer>where
<K as ArrayType<K>>::Array<Buffer, i32, SparseLayout>: Send,
<V as ArrayType<V>>::Array<Buffer, i32, SparseLayout>: Send,
impl<K, V, Buffer> Sync for KeyValueArray<K, V, Buffer>where
<K as ArrayType<K>>::Array<Buffer, i32, SparseLayout>: Sync,
<V as ArrayType<V>>::Array<Buffer, i32, SparseLayout>: Sync,
impl<K, V, Buffer> Unpin for KeyValueArray<K, V, Buffer>where
<K as ArrayType<K>>::Array<Buffer, i32, SparseLayout>: Unpin,
<V as ArrayType<V>>::Array<Buffer, i32, SparseLayout>: Unpin,
impl<K, V, Buffer> UnsafeUnpin for KeyValueArray<K, V, Buffer>where
<K as ArrayType<K>>::Array<Buffer, i32, SparseLayout>: UnsafeUnpin,
<V as ArrayType<V>>::Array<Buffer, i32, SparseLayout>: UnsafeUnpin,
impl<K, V, Buffer> UnwindSafe for KeyValueArray<K, V, Buffer>where
<K as ArrayType<K>>::Array<Buffer, i32, SparseLayout>: UnwindSafe,
<V as ArrayType<V>>::Array<Buffer, i32, SparseLayout>: 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