Struct rustc_data_structures::bitvec::BitArray[][src]

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

A very simple BitArray type.

It does not support resizing after creation; use BitVector for that.

Methods

impl<C: Idx> BitArray<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 BitIter<'a, C>

Iterates over indexes of set bits in a sorted order

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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

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

This method tests for !=.

Auto Trait Implementations

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

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