[−][src]Struct pour::map_ctx::MapCtx
A (deep) consing context implemented using a hashbrown
HashMap
Implementations
impl<K: RadixKey + Eq + Hash, V: Clone + Eq + Hash> MapCtx<K, V>
[src]
Trait Implementations
impl<K: Clone + RadixKey + Eq + Hash, V: Clone + Eq + Hash, S: Clone + BuildHasher> Clone for MapCtx<K, V, S>
[src]
impl<K: RadixKey + Eq + Hash, V: Clone + Eq + Hash, S: BuildHasher> ConsCtx<K, V> for MapCtx<K, V, S>
[src]
fn cons(&mut self, inner: InnerMap<K, V>) -> Arc<InnerMap<K, V>>
[src]
fn cons_arc(&mut self, inner: &Arc<InnerMap<K, V>>) -> Arc<InnerMap<K, V>>
[src]
fn cons_recursive(&mut self, inner: &Arc<InnerMap<K, V>>) -> Arc<InnerMap<K, V>>
[src]
impl<K: Debug + RadixKey + Eq + Hash, V: Debug + Clone + Eq + Hash, S: Debug + BuildHasher> Debug for MapCtx<K, V, S>
[src]
impl<K: RadixKey + Eq + Hash, V: Clone + Eq + Hash, S: BuildHasher + Default> Default for MapCtx<K, V, S>
[src]
impl<K: Eq + RadixKey + Hash, V: Eq + Clone + Hash, S: Eq + BuildHasher> Eq for MapCtx<K, V, S>
[src]
impl<K: PartialEq + RadixKey + Eq + Hash, V: PartialEq + Clone + Eq + Hash, S: PartialEq + BuildHasher> PartialEq<MapCtx<K, V, S>> for MapCtx<K, V, S>
[src]
fn eq(&self, other: &MapCtx<K, V, S>) -> bool
[src]
fn ne(&self, other: &MapCtx<K, V, S>) -> bool
[src]
impl<K: RadixKey + Eq + Hash, V: Clone + Eq + Hash, S: BuildHasher> RefCast for MapCtx<K, V, S>
[src]
type From = HashMap<Arc<InnerMap<K, V>>, (), S>
fn ref_cast(_from: &Self::From) -> &Self
[src]
fn ref_cast_mut(_from: &mut Self::From) -> &mut Self
[src]
impl<K: RadixKey + Eq + Hash, V: Clone + Eq + Hash, S: BuildHasher> StructuralEq for MapCtx<K, V, S>
[src]
impl<K: RadixKey + Eq + Hash, V: Clone + Eq + Hash, S: BuildHasher> StructuralPartialEq for MapCtx<K, V, S>
[src]
Auto Trait Implementations
impl<K, V, S> RefUnwindSafe for MapCtx<K, V, S> where
K: RefUnwindSafe,
S: RefUnwindSafe,
V: RefUnwindSafe,
<K as RadixKey>::DepthType: RefUnwindSafe,
<K as RadixKey>::PatternType: RefUnwindSafe,
K: RefUnwindSafe,
S: RefUnwindSafe,
V: RefUnwindSafe,
<K as RadixKey>::DepthType: RefUnwindSafe,
<K as RadixKey>::PatternType: RefUnwindSafe,
impl<K, V, S> Send for MapCtx<K, V, S> where
K: Send + Sync,
S: Send,
V: Send + Sync,
<K as RadixKey>::DepthType: Send + Sync,
<K as RadixKey>::PatternType: Send + Sync,
K: Send + Sync,
S: Send,
V: Send + Sync,
<K as RadixKey>::DepthType: Send + Sync,
<K as RadixKey>::PatternType: Send + Sync,
impl<K, V, S> Sync for MapCtx<K, V, S> where
K: Send + Sync,
S: Sync,
V: Send + Sync,
<K as RadixKey>::DepthType: Send + Sync,
<K as RadixKey>::PatternType: Send + Sync,
K: Send + Sync,
S: Sync,
V: Send + Sync,
<K as RadixKey>::DepthType: Send + Sync,
<K as RadixKey>::PatternType: Send + Sync,
impl<K, V, S> Unpin for MapCtx<K, V, S> where
K: Unpin,
S: Unpin,
V: Unpin,
<K as RadixKey>::DepthType: Unpin,
<K as RadixKey>::PatternType: Unpin,
K: Unpin,
S: Unpin,
V: Unpin,
<K as RadixKey>::DepthType: Unpin,
<K as RadixKey>::PatternType: Unpin,
impl<K, V, S> UnwindSafe for MapCtx<K, V, S> where
K: RefUnwindSafe + UnwindSafe,
S: UnwindSafe,
V: RefUnwindSafe + UnwindSafe,
<K as RadixKey>::DepthType: RefUnwindSafe + UnwindSafe,
<K as RadixKey>::PatternType: RefUnwindSafe + UnwindSafe,
K: RefUnwindSafe + UnwindSafe,
S: 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> 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>,