pub struct BucketElement<K, V>{ /* private fields */ }
Expand description
A struct that represents an element in a bucket.
Trait Implementations§
Source§impl<K, V> Clone for BucketElement<K, V>
impl<K, V> Clone for BucketElement<K, V>
Source§fn clone(&self) -> BucketElement<K, V>
fn clone(&self) -> BucketElement<K, V>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<K, V> Cmov for BucketElement<K, V>
impl<K, V> Cmov for BucketElement<K, V>
Source§impl<K, V> Debug for BucketElement<K, V>
impl<K, V> Debug for BucketElement<K, V>
Source§impl<K, V> Default for BucketElement<K, V>
impl<K, V> Default for BucketElement<K, V>
Source§fn default() -> BucketElement<K, V>
fn default() -> BucketElement<K, V>
Returns the “default value” for a type. Read more
Source§impl<K, V> Zeroable for BucketElement<K, V>
impl<K, V> Zeroable for BucketElement<K, V>
impl<K, V> Copy for BucketElement<K, V>
impl<K: OHash, V: Cmov + Pod> Pod for BucketElement<K, V>
Auto Trait Implementations§
impl<K, V> Freeze for BucketElement<K, V>
impl<K, V> RefUnwindSafe for BucketElement<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for BucketElement<K, V>
impl<K, V> Sync for BucketElement<K, V>
impl<K, V> Unpin for BucketElement<K, V>
impl<K, V> UnwindSafe for BucketElement<K, V>where
K: 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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.