Struct rustc_data_structures::bitvec::BitVector[][src]

pub struct BitVector<C: Idx> { /* fields omitted */ }

A very simple BitVector type.

Methods

impl<C: Idx> BitVector<C>
[src]

True if self contains the bit bit.

True if self contains all the bits in other.

The two vectors must have the same length.

Returns true if the bit has changed.

Sets all bits to true.

Returns true if the bit has changed.

Important traits for BitVectorIter<'a, C>

Iterates over indexes of set bits in a sorted order

Trait Implementations

impl<C: Clone + Idx> Clone for BitVector<C>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<C: Debug + Idx> Debug for BitVector<C>
[src]

Formats the value using the given formatter. Read more

impl<C: PartialEq + Idx> PartialEq for BitVector<C>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<C: Idx> FromIterator<bool> for BitVector<C>
[src]

Creates a value from an iterator. Read more

Auto Trait Implementations

impl<C> Send for BitVector<C> where
    C: Send

impl<C> Sync for BitVector<C> where
    C: Sync