Skip to main content

oxilean_std/hashset/
oxihashset_predicates_3.rs

1//! # OxiHashSet - predicates Methods
2//!
3//! This module contains method implementations for `OxiHashSet`.
4//!
5//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
6
7use super::oxihashset_type::OxiHashSet;
8use std::hash::Hash;
9
10impl<T: Eq + Hash + Clone> OxiHashSet<T> {
11    /// Check whether `self` and `other` are disjoint (share no elements).
12    pub fn is_disjoint(&self, other: &Self) -> bool {
13        self.inner.is_disjoint(&other.inner)
14    }
15}