[][src]Struct associative_cache::indices::PointerDirectMapped

pub struct PointerDirectMapped;

Direct-mapped (i.e. one-way associative) caching based on the key's pointer value.

See the Indices trait's documentation for more on associativity.

Trait Implementations

impl<T, C> Indices<*mut T, C> for PointerDirectMapped where
    C: Capacity
[src]

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

impl<T, C> Indices<*const T, C> for PointerDirectMapped where
    C: Capacity
[src]

type Indices = Self::Indices

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

impl Clone for PointerDirectMapped[src]

impl Default for PointerDirectMapped[src]

impl PartialOrd<PointerDirectMapped> for PointerDirectMapped[src]

impl Eq for PointerDirectMapped[src]

impl Ord for PointerDirectMapped[src]

impl PartialEq<PointerDirectMapped> for PointerDirectMapped[src]

impl Debug for PointerDirectMapped[src]

impl Hash for PointerDirectMapped[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,