[−][src]Struct associative_cache::indices::HashEightWay
Eight-way set associative caching based on the key's Hash
implementation.
See the Indices
trait's documentation for more on associativity.
Trait Implementations
impl<T: ?Sized, C, H> Indices<T, C> for HashEightWay<H> where
T: Hash,
C: Capacity,
H: Hasher + Default,
[src]
T: Hash,
C: Capacity,
H: Hasher + Default,
type Indices = Range<usize>
The iterator over indices within the range 0..C::CAPACITY
yielding the slots in the cache where the key's entry might reside. Read more
fn indices(key: &T) -> Self::Indices
[src]
impl<H: Clone> Clone for HashEightWay<H>
[src]
fn clone(&self) -> HashEightWay<H>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<H: Default> Default for HashEightWay<H>
[src]
fn default() -> HashEightWay<H>
[src]
impl<H: PartialOrd> PartialOrd<HashEightWay<H>> for HashEightWay<H>
[src]
fn partial_cmp(&self, other: &HashEightWay<H>) -> Option<Ordering>
[src]
fn lt(&self, other: &HashEightWay<H>) -> bool
[src]
fn le(&self, other: &HashEightWay<H>) -> bool
[src]
fn gt(&self, other: &HashEightWay<H>) -> bool
[src]
fn ge(&self, other: &HashEightWay<H>) -> bool
[src]
impl<H: Eq> Eq for HashEightWay<H>
[src]
impl<H: Ord> Ord for HashEightWay<H>
[src]
fn cmp(&self, other: &HashEightWay<H>) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<H: PartialEq> PartialEq<HashEightWay<H>> for HashEightWay<H>
[src]
fn eq(&self, other: &HashEightWay<H>) -> bool
[src]
fn ne(&self, other: &HashEightWay<H>) -> bool
[src]
impl<H: Debug> Debug for HashEightWay<H>
[src]
impl<H: Hash> Hash for HashEightWay<H>
[src]
Auto Trait Implementations
impl<H> Send for HashEightWay<H> where
H: Send,
H: Send,
impl<H> Sync for HashEightWay<H> where
H: Sync,
H: Sync,
impl<H> Unpin for HashEightWay<H> where
H: Unpin,
H: Unpin,
impl<H> RefUnwindSafe for HashEightWay<H> where
H: RefUnwindSafe,
H: RefUnwindSafe,
impl<H> UnwindSafe for HashEightWay<H> where
H: UnwindSafe,
H: UnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,