[][src]Struct pour::InnerMap

pub struct InnerMap<K: RadixKey, V: Clone> { /* fields omitted */ }

An IdMap's internal data.

Implementations

impl<K: RadixKey, V: Clone> InnerMap<K, V>[src]

pub fn len(&self) -> usize[src]

The size of the map this InnerMap represents

pub fn depth(&self) -> usize[src]

The depth of this InnerMap

pub fn is_root(&self) -> bool[src]

Whether this InnerMap is a root InnerMap, i.e. can be placed directly into a Set

pub fn is_empty(&self) -> bool[src]

Whether this InnerMap is empty

pub fn singleton(key: K, value: V) -> InnerMap<K, V>[src]

Create an InnerMap representing a singleton

impl<K: RadixKey, V: Clone + Eq> InnerMap<K, V>[src]

pub fn rec_eq(&self, other: &InnerMap<K, V>) -> bool[src]

Check whether two InnerMaps are recursively equal, i.e. contain the same data versus point to the same data

Trait Implementations

impl<K: Clone + RadixKey, V: Clone> Clone for InnerMap<K, V> where
    K::PatternType: Clone,
    K::DepthType: Clone
[src]

impl<K: RadixKey + Debug, V: Clone + Debug> Debug for InnerMap<K, V>[src]

impl<K: RadixKey, V: Clone + Eq> Eq for InnerMap<K, V>[src]

impl<K: RadixKey + Hash, V: Clone + Hash> Hash for InnerMap<K, V>[src]

impl<K: RadixKey + Eq + Ord, V: Clone + Eq + Ord> Ord for InnerMap<K, V>[src]

impl<K: RadixKey, V: Clone + Eq> PartialEq<InnerMap<K, V>> for InnerMap<K, V>[src]

impl<K: RadixKey + PartialOrd, V: Clone + Eq + PartialOrd> PartialOrd<InnerMap<K, V>> for InnerMap<K, V>[src]

Auto Trait Implementations

impl<K, V> RefUnwindSafe for InnerMap<K, V> where
    K: RefUnwindSafe,
    V: RefUnwindSafe,
    <K as RadixKey>::DepthType: RefUnwindSafe,
    <K as RadixKey>::PatternType: RefUnwindSafe

impl<K, V> Send for InnerMap<K, V> where
    K: Send + Sync,
    V: Send + Sync,
    <K as RadixKey>::DepthType: Send + Sync,
    <K as RadixKey>::PatternType: Send + Sync

impl<K, V> Sync for InnerMap<K, V> where
    K: Send + Sync,
    V: Send + Sync,
    <K as RadixKey>::DepthType: Send + Sync,
    <K as RadixKey>::PatternType: Send + Sync

impl<K, V> Unpin for InnerMap<K, V> where
    K: Unpin,
    V: Unpin,
    <K as RadixKey>::DepthType: Unpin,
    <K as RadixKey>::PatternType: Unpin

impl<K, V> UnwindSafe for InnerMap<K, V> where
    K: RefUnwindSafe + UnwindSafe,
    V: RefUnwindSafe + UnwindSafe,
    <K as RadixKey>::DepthType: RefUnwindSafe + UnwindSafe,
    <K as RadixKey>::PatternType: RefUnwindSafe + 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> CallHasher for T where
    T: Hash
[src]

impl<T> Erasable for T

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.