Struct rustc_data_structures::bitvec::BitVector [−][src]
pub struct BitVector<C: Idx> { /* fields omitted */ }
Methods
impl<C: Idx> BitVector<C>[src]
impl<C: Idx> BitVector<C>pub fn grow(&mut self, num_bits: C)[src]
pub fn grow(&mut self, num_bits: C)pub fn new() -> BitVector<C>[src]
pub fn new() -> BitVector<C>pub fn with_capacity(bits: usize) -> BitVector<C>[src]
pub fn with_capacity(bits: usize) -> BitVector<C>pub fn insert(&mut self, bit: C) -> bool[src]
pub fn insert(&mut self, bit: C) -> boolReturns true if the bit has changed.
pub fn contains(&self, bit: C) -> bool[src]
pub fn contains(&self, bit: C) -> boolTrait Implementations
impl<C: Clone + Idx> Clone for BitVector<C>[src]
impl<C: Clone + Idx> Clone for BitVector<C>fn clone(&self) -> BitVector<C>[src]
fn clone(&self) -> BitVector<C>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<C: Debug + Idx> Debug for BitVector<C>[src]
impl<C: Debug + Idx> Debug for BitVector<C>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<C: PartialEq + Idx> PartialEq for BitVector<C>[src]
impl<C: PartialEq + Idx> PartialEq for BitVector<C>