Trait bitsetium::BitSubset[][src]

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

Tests any of the following equivalent properties:

  • one bit-set is subset of another.
  • all bits that are set in one bit-set are set in another.
  • self - rhs is empty.

Required methods

Returns true if self is subset of rhs.

Implementations on Foreign Types

Implementors