Enum smolset::InnerSmolSet [−][src]
pub enum InnerSmolSet<A: Array> where
A::Item: PartialEq + Eq, {
Stack(SmallVec<A>),
Heap(HashSet<A::Item>),
}
Expand description
Internal (and true) representation of the SmolSet
.
Created so that user are not aware of the sum type.
Variants
Stack(SmallVec<A>)
Tuple Fields of Stack
0: SmallVec<A>
Trait Implementations
Auto Trait Implementations
impl<A> RefUnwindSafe for InnerSmolSet<A> where
A: RefUnwindSafe,
<A as Array>::Item: RefUnwindSafe,
impl<A> Send for InnerSmolSet<A> where
<A as Array>::Item: Send,
impl<A> UnwindSafe for InnerSmolSet<A> where
A: UnwindSafe,
<A as Array>::Item: RefUnwindSafe + UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more