[−][src]Struct pour::InnerMap
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 InnerMap
s 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]
K::PatternType: Clone,
K::DepthType: Clone,
impl<K: Debug + RadixKey, V: Debug + Clone> Debug for InnerMap<K, V> where
K::PatternType: Debug,
K::DepthType: Debug,
[src]
K::PatternType: Debug,
K::DepthType: Debug,
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]
fn hash<H: Hasher>(&self, hasher: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<K: RadixKey + Eq + Ord, V: Clone + Eq + Ord> Ord for InnerMap<K, V>
[src]
fn cmp(&self, other: &InnerMap<K, V>) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<K: RadixKey, V: Clone + Eq> PartialEq<InnerMap<K, V>> for InnerMap<K, V>
[src]
fn eq(&self, other: &InnerMap<K, V>) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[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,
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,
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,
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,
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,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CallHasher for T where
T: Hash,
[src]
T: Hash,
impl<T> Erasable for T
pub unsafe fn unerase(this: NonNull<Erased>) -> NonNull<T>
pub const ACK_1_1_0: bool
fn erase(this: NonNull<Self>) -> NonNull<Erased>
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,