[][src]Struct hopscotch::Popped

pub struct Popped<K, V> {
    pub index: u64,
    pub tag: K,
    pub value: V,
}

An item that has been popped from the queue.

Fields

index: u64

The index of the item: this is unique for the entire lifetime of the queue from which this item originated.

tag: K

The tag of the item which was originally assigned when the item was inserted into the queue.

value: V

The value contained in this item.

Trait Implementations

impl<K: Clone, V: Clone> Clone for Popped<K, V>[src]

impl<K: Debug, V: Debug> Debug for Popped<K, V>[src]

impl<K: Eq, V: Eq> Eq for Popped<K, V>[src]

impl<K: Hash, V: Hash> Hash for Popped<K, V>[src]

impl<K: Ord, V: Ord> Ord for Popped<K, V>[src]

impl<K: PartialEq, V: PartialEq> PartialEq<Popped<K, V>> for Popped<K, V>[src]

impl<K: PartialOrd, V: PartialOrd> PartialOrd<Popped<K, V>> for Popped<K, V>[src]

impl<K, V> StructuralEq for Popped<K, V>[src]

impl<K, V> StructuralPartialEq for Popped<K, V>[src]

Auto Trait Implementations

impl<K, V> RefUnwindSafe for Popped<K, V> where
    K: RefUnwindSafe,
    V: RefUnwindSafe

impl<K, V> Send for Popped<K, V> where
    K: Send,
    V: Send

impl<K, V> Sync for Popped<K, V> where
    K: Sync,
    V: Sync

impl<K, V> Unpin for Popped<K, V> where
    K: Unpin,
    V: Unpin

impl<K, V> UnwindSafe for Popped<K, V> where
    K: UnwindSafe,
    V: UnwindSafe

Blanket Implementations

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

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

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

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.