Trait bitsetium::BitDisjoint[][src]

pub trait BitDisjoint<Rhs = Self> {
    fn is_disjoint(&self, rhs: &Rhs) -> bool;
}
Expand description

Tests any of the following equivalent properties:

  • two bit-sets are disjoint.
  • all bits that are set in one bit-set are unset in another and vice versa.
  • their intersection is empty.

Required methods

Returns true if self is disjoint with rhs.

Implementations on Foreign Types

Implementors