Struct libreda_sta::models::clock_tracking::ArcSet
source · pub struct ArcSet<T> {
elements: Arc<VecSet<T>>,
}Expand description
A clone-on-write reference counted set.
Fields§
§elements: Arc<VecSet<T>>Sorted list of unique elements in the set.
Implementations§
Trait Implementations§
source§impl<T: PartialEq> PartialEq<ArcSet<T>> for ArcSet<T>
impl<T: PartialEq> PartialEq<ArcSet<T>> for ArcSet<T>
impl<T: Eq> Eq for ArcSet<T>
impl<T> StructuralEq for ArcSet<T>
impl<T> StructuralPartialEq for ArcSet<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for ArcSet<T>where T: RefUnwindSafe,
impl<T> Send for ArcSet<T>where T: Send + Sync,
impl<T> Sync for ArcSet<T>where T: Send + Sync,
impl<T> Unpin for ArcSet<T>
impl<T> UnwindSafe for ArcSet<T>where T: RefUnwindSafe,
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.