Struct dlist::ItemInfo[][src]

pub struct ItemInfo<'a, V, M> {
    pub item: &'a V,
    pub index: usize,
    pub outer_distance: M,
    pub inner_distance: M,
}

Fields

item: &'a Vindex: usizeouter_distance: Minner_distance: M

Trait Implementations

impl<'a, V: Debug, M: Debug> Debug for ItemInfo<'a, V, M>[src]

impl<'a, V: PartialEq, M: PartialEq> PartialEq<ItemInfo<'a, V, M>> for ItemInfo<'a, V, M>[src]

impl<'a, V, M> StructuralPartialEq for ItemInfo<'a, V, M>[src]

Auto Trait Implementations

impl<'a, V, M> RefUnwindSafe for ItemInfo<'a, V, M> where
    M: RefUnwindSafe,
    V: RefUnwindSafe

impl<'a, V, M> Send for ItemInfo<'a, V, M> where
    M: Send,
    V: Sync

impl<'a, V, M> Sync for ItemInfo<'a, V, M> where
    M: Sync,
    V: Sync

impl<'a, V, M> Unpin for ItemInfo<'a, V, M> where
    M: Unpin

impl<'a, V, M> UnwindSafe for ItemInfo<'a, V, M> where
    M: UnwindSafe,
    V: RefUnwindSafe

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, 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.