[][src]Struct epilog::sub::Sub

pub struct Sub<K, V>(_);

Methods

impl<K, V> Sub<K, V>[src]

pub fn top() -> Self[src]

impl<K: Eq + Hash, V> Sub<K, V>[src]

pub fn of(key: K, val: V) -> Self[src]

pub fn get(&self, key: &K) -> Option<Rc<V>>[src]

Trait Implementations

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

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

impl<K: Eq + Hash, V: Eq> Eq for Sub<K, V>[src]

impl<K, V> From<HashMap<K, Rc<V>, RandomState>> for Sub<K, V>[src]

impl<K: Eq + Hash, V> From<HashMap<K, V, RandomState>> for Sub<K, V>[src]

impl<K, V> From<Sub<K, V>> for HashMap<K, Rc<V>>[src]

impl<K: Eq + Hash, V> FromIterator<(K, Rc<V>)> for Sub<K, V>[src]

impl<K: Eq + Hash, V> FromIterator<(K, V)> for Sub<K, V>[src]

impl<K: Eq + Hash, V: PartialEq> PartialEq<Sub<K, V>> for Sub<K, V>[src]

impl<K: Clone + Eq + Hash, V: SubWith<K, V, Error = E>, E> SubWith<K, V> for Sub<K, V>[src]

type Error = E

Auto Trait Implementations

impl<K, V> !RefUnwindSafe for Sub<K, V>

impl<K, V> !Send for Sub<K, V>

impl<K, V> !Sync for Sub<K, V>

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

impl<K, V> UnwindSafe for Sub<K, V> where
    K: 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> 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.