Struct keyed::Keyed[][src]

pub struct Keyed<T>(pub T);

A wrapper for data structures that implements Key trait.

Trait Implementations

impl<T: Clone> Clone for Keyed<T>[src]

impl<T: Copy> Copy for Keyed<T>[src]

impl<T: Debug> Debug for Keyed<T>[src]

impl<T: Default> Default for Keyed<T>[src]

impl<T: Key> Eq for Keyed<T> where
    T::Output: Eq
[src]

impl<T: Key> From<T> for Keyed<T>[src]

impl<T: Key> Hash for Keyed<T> where
    T::Output: Hash
[src]

impl<T: Key> Ord for Keyed<T> where
    T::Output: Ord
[src]

impl<T: Key> PartialEq<Keyed<T>> for Keyed<T> where
    T::Output: PartialEq
[src]

impl<T: Key> PartialOrd<Keyed<T>> for Keyed<T> where
    T::Output: PartialOrd
[src]

Auto Trait Implementations

impl<T> Send for Keyed<T> where
    T: Send
[src]

impl<T> Sync for Keyed<T> where
    T: Sync
[src]

impl<T> Unpin for Keyed<T> where
    T: Unpin
[src]

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.