Struct hashconsing::HConsed
source · pub struct HConsed<T> { /* private fields */ }
Expand description
A hashconsed value.
Implementations§
Trait Implementations§
source§impl<T> FromIterator<HConsed<<T as HashConsed>::Inner>> for HConSet<T>where
T: HashConsed,
T::Inner: Hash + Eq,
impl<T> FromIterator<HConsed<<T as HashConsed>::Inner>> for HConSet<T>where T: HashConsed, T::Inner: Hash + Eq,
source§impl<T, S> FromIterator<HConsed<<T as HashConsed>::Inner>> for HConSet<T, S>where
T: HashConsed,
T::Inner: Hash + Eq,
S: BuildHasher + Default,
impl<T, S> FromIterator<HConsed<<T as HashConsed>::Inner>> for HConSet<T, S>where T: HashConsed, T::Inner: Hash + Eq, S: BuildHasher + Default,
source§impl<T> Ord for HConsed<T>
impl<T> Ord for HConsed<T>
source§impl<T> PartialOrd<HConsed<T>> for HConsed<T>
impl<T> PartialOrd<HConsed<T>> for HConsed<T>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<T> Eq for HConsed<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for HConsed<T>where T: RefUnwindSafe,
impl<T> Send for HConsed<T>where T: Send + Sync,
impl<T> Sync for HConsed<T>where T: Send + Sync,
impl<T> Unpin for HConsed<T>
impl<T> UnwindSafe for HConsed<T>where T: RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more