Skip to main content

SetAbstractDomainOps

Trait SetAbstractDomainOps 

Source
pub trait SetAbstractDomainOps: Clone + Eq {
    // Required methods
    fn is_subset(&self, other: &Self) -> bool;
    fn intersection_with(&mut self, other: &Self);
    fn union_with(&mut self, other: Self);
}

Required Methods§

Source

fn is_subset(&self, other: &Self) -> bool

Source

fn intersection_with(&mut self, other: &Self)

Source

fn union_with(&mut self, other: Self)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: Eq + Hash + Clone> SetAbstractDomainOps for HashSet<T>

Source§

fn is_subset(&self, other: &Self) -> bool

Source§

fn intersection_with(&mut self, other: &Self)

Source§

fn union_with(&mut self, other: Self)

Implementors§

Source§

impl<K> SetAbstractDomainOps for PatriciaTreeSet<K>
where K: Into<BitVec> + Clone,