struct Entry<O, V>{
hash: u64,
offset_or_inline: usize,
len: O,
payload: V,
}Expand description
Entry in the hash table – see ArrowBytesMap for more details
Fields§
§hash: u64hash of the value (stored to avoid recomputing it in hash table check)
offset_or_inline: usizeif len =< SHORT_VALUE_LEN: the data inlined
if len > SHORT_VALUE_LEN, the offset of where the data starts
len: Olength of the value, in bytes (use O here so we use only i32 for strings, rather 64 bit usize)
payload: Vvalue stored by the entry
Implementations§
Trait Implementations§
impl<O, V> Copy for Entry<O, V>
impl<O, V> Eq for Entry<O, V>
impl<O, V> StructuralPartialEq for Entry<O, V>
Auto Trait Implementations§
impl<O, V> Freeze for Entry<O, V>
impl<O, V> RefUnwindSafe for Entry<O, V>where
O: RefUnwindSafe,
V: RefUnwindSafe,
impl<O, V> Send for Entry<O, V>where
V: Send,
impl<O, V> Sync for Entry<O, V>where
V: Sync,
impl<O, V> Unpin for Entry<O, V>
impl<O, V> UnwindSafe for Entry<O, V>where
O: UnwindSafe,
V: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more