[−][src]Type Definition dashcache::arr::CachedBag
type CachedBag<A, H = ()> = CachedArr<A, Sorted, H>;
A cached bag of elements
Implementations
impl<A: Deref + Clone, H> CachedBag<A, H>
[src]
pub fn contains_impl(&self, item: *const A::Target) -> Option<&A>
[src]
Check whether an item is in this bag. If it is, return a reference.
pub fn uniq_impl(&self) -> CachedSet<A>
[src]
Deduplicate this bag into a set
impl<A: Deref + Clone> CachedBag<A>
[src]
pub fn merge_impl(&self, rhs: &CachedBag<A>) -> CachedBag<A>
[src]
Merge two bags
pub fn intersect_impl(&self, rhs: &CachedBag<A>) -> CachedBag<A>
[src]
Take the intersection of two bags